AddBootSourceSettings method of the Msvm_VirtualSystemManagementService class
Adds boot sources to a stateful virtual system configuration.
Syntax
uint32 AddBootSourceSettings(
[in] CIM_VirtualSystemSettingData REF AffectedConfiguration,
[in] string BootSourceSettings[],
[out] CIM_SettingData REF ResultingBootSourceSettings[],
[out] CIM_ConcreteJob REF Job
);
Parameters
-
AffectedConfiguration [in]
-
A reference to the virtual system configuration.
-
BootSourceSettings [in]
-
An array that contains references to instances of Msvm_BootSourceSettingData that represent properties of the boot sources.
-
ResultingBootSourceSettings [out]
-
An array that contains embedded instances of CIM_SettingData that describe the virtual aspects of the virtual resources to add to the virtual system.
-
Job [out]
-
A reference to an optional job for the operation if the operation is run asynchronously.
Return value
The possible return values are:
-
Completed with No Error (0)
-
Not Supported (1)
-
Failed (2)
-
Timeout (3)
-
Invalid Parameter (4)
-
DMTF Reserved (5 4095)
-
Method Parameters Checked - Job Started (4096)
-
Method Reserved (4097 32767)
-
Vendor Specific (32768 65535)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\HyperVCluster\v2 |
MOF |
|
DLL |
|