ChangeNetworkConfiguration method of the MSFT_PCSVDevice class
A wrapper method used to change the network configuration of the BMC.
Syntax
uint32 ChangeNetworkConfiguration(
[in] uint16 IPv4AddressOrigin,
[in] string IPv4Address,
[in] string IPv4SubnetMask,
[in] string IPv4DefaultGateway,
[in, out] CIM_ConcreteJob REF Job
);
Parameters
-
IPv4AddressOrigin [in]
-
Identifies the method by which the IPv4 address, subnet mask, and gateway were assigned to the NIC.
-
Unknown (0)
-
Other (1)
-
Not Applicable (2)
-
Static (3)
-
DHCP (4)
-
BOOTP (5)
-
DMTF Reserved
- 6 32767
-
Vendor Reserved
- 32768 65535
IPv4Address [in]
The IPv4 address of the target PCSV device.
IPv4SubnetMask [in]
The IPv4 subnet mask of the target PCSV device.
IPv4DefaultGateway [in]
The IPv4 default gateway of the target PCSV device.
Job [in, out]
Reference to a CIM_ConcreteJob object that contains the job spawned if the operation continues after the method returns. May be NULL if the task is completed.
Return value
This method returns one of the following values.
-
Completed with No Error (0)
-
Not Supported (1)
-
Failed (2)
-
Reserved (3 4095)
-
Job Started (4096)
-
DMTF Reserved (4097 32767)
-
Vendor Reserved (32768 65535)
Requirements
Minimum supported client |
Windows 10 [desktop apps only] |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\HardwareManagement |
MOF |
|
DLL |
|