IVMVirtualMachine::AddSCSIController method
The AddSCSIController method adds a new SCSI controller to the virtual machine.
Syntax
HRESULT AddSCSIController(
[out] IVMSCSIController **controller
);
Parameters
-
controller [out]
-
A new IVMSCSIController object.
Return value
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The controller parameter is NULL. |
|
The maximum amount of SCSI controllers have already been created. |
|
The configuration is unknown. |
|
Virtual machine is running or saved. |
|
An unexpected error has occurred. |
Remarks
You can only add a new SCSI controller to a stopped virtual machine.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|