共用方式為


IVMSerialPort interface

The IVMSerialPort interface 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
Configure Configures the serial port.

Properties

The IVMSerialPort interface has these properties.

Property Access type Description
_ID
Read-only
The internal ID of the serial port.
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

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IDispatch