IVMSerialPort interface
[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]
Defines a serial port inside a virtual machine. This interface allows you to configure serial ports inside a virtual machine. You can retrieve an IVMSerialPort object from the IVMSerialPortCollection object returned from the IVMVirtualMachine::SerialPorts property.
Members
The IVMSerialPort interface inherits from the IDispatch interface. IVMSerialPort also has these types of members:
Methods
The IVMSerialPort interface has these methods.
Method | Description |
---|---|
_ID | Retrieves the internal identifier of the serial port. |
Configure | Configures the serial port. |
Properties
The IVMSerialPort interface has these properties.
Property | Access type | Description |
---|---|---|
ConnectImmediately |
Read-only |
Indicates whether the serial port should be opened without waiting for a modem command to be received. |
Name |
Read-only |
The name of the serial port. |
Type |
Read-only |
The type of the serial port. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
None supported |
End of client support |
Windows 7 |
Product |
Windows Virtual PC |
Header |
|
IID |
IID_IVMSerialPort is defined as 2ce4460d-1d3f-4458-bf8b-44084b816815 |