The IVMHardDiskConnection interface defines the connection for a hard disk within the virtual machine. An IVMHardDiskConnection object is returned from the IVMVirtualMachine::AddHardDiskConnection method. You can also retrieve an IVMHardDiskConnection object from the IVMHardDiskConnectionCollection object returned from the IVMVirtualMachine::HardDiskConnections property.
Members
The IVMHardDiskConnection interface inherits from the IDispatch interface. IVMHardDiskConnection also has these types of members:
Methods
The IVMHardDiskConnection interface has these methods.
| Method | Description |
|---|---|
| SetBusLocation | Sets the bus location to which this hard disk is attached. |
Properties
The IVMHardDiskConnection interface has these properties.
| Property | Access type | Description |
|---|---|---|
| BusNumber |
Read-only |
The bus number that corresponds with this connection. |
| BusType |
Read-only |
The type of bus (that is, IDE or SCSI) that corresponds with this connection. |
| DeviceNumber |
Read-only |
The device number that corresponds with this connection. |
| HardDisk |
Read-only |
An IVMHardDisk object corresponding to this connection. |
| UndoHardDisk |
Read-only |
An IVMHardDisk object corresponding to this connection's undo disk image. |
Requirements
| Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
| Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
| Header |
|