Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures the network adapters in a guest operating system. These configuration settings are applied immediately upon establishing communication with the KVP Exchange integration component that runs in the guest operating system.
Syntax
uint32 SetGuestNetworkAdapterConfiguration(
[in] CIM_ComputerSystem REF ComputerSystem,
[in] string NetworkConfiguration[],
[out] CIM_ConcreteJob REF Job
);
Parameters
-
ComputerSystem [in]
-
A reference to the CIM_ComputerSystem instance that contains the network adapters to configure.
-
NetworkConfiguration [in]
-
An array that contains embedded instances of Msvm_GuestNetworkAdapterConfiguration that describe the configuration settings for the network adapters. The InstanceID and DHCPEnabled properties must be specified in each instance.
-
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)
-
Method Parameters Checked - Job Started (4096)
-
Failed (32768)
-
Access Denied (32769)
-
Not Supported (32770)
-
Status is unknown (32771)
-
Timeout (32772)
-
Invalid parameter (32773)
-
System is in use (32774)
-
Invalid state for this operation (32775)
-
Incorrect data type (32776)
-
System is not available (32777)
-
Out of memory (32778)
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\HyperVCluster\v2 |
MOF |
|
DLL |
|