The Name property contains the name of the parallel port.
This property is read/write.
Syntax
HRESULT put_Name(
  [in]  BSTR portName
);
HRESULT get_Name(
  [out] BSTR *portName
);
| VB | 
|---|
 | 
Property value
The name of the parallel port (for example, "LPT1").
This property value is read/write.
Error codes
| Name | Meaning | 
|---|---|
  | 
The operation was successful. | 
  | 
The portName parameter is NULL. | 
  | 
The portName parameter refers to an invalid parallel port. | 
  | 
The configuration is unknown. | 
  | 
An unexpected error occurred. | 
Requirements
| Product | 
Microsoft Virtual Server 2005 onWindows Server 2003 | 
| Download | 
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 | 
| Header | 
  |