SetIpamServerInventory method of the MSFT_IPAM_ServerInventory class
Updates an infrastructure server in the IPAM server inventory.
Syntax
uint32 SetIpamServerInventory(
[in] string Name,
[in] string NewName,
[in] uint16 ServerType[],
[in] uint16 ManageabilityStatus,
[in] string Description,
[in] string AddCustomConfiguration,
[in] string RemoveCustomConfiguration,
[in] string Owner,
[out] MSFT_IPAM_ServerInventory Output
);
Parameters
-
Name [in]
-
The name of the server.
-
NewName [in]
-
The new name of the server.
-
ServerType [in]
-
An array that contains the server roles that are running on the server.
The possible values are:
-
0
-
None
-
1
-
Domain Controller
-
2
-
Domain Name System (DNS)
-
3
-
Dynamic Host Configuration Protocol (DHCP)
-
3
-
Network Policy Server (NPS)
ManageabilityStatus [in]
Indicates whether IPAM is managing the server.
The possible values are:
1
IPAM is managing the server.
2
IPAM is not managing the server.
Description [in]
A description of the server.
AddCustomConfiguration [in]
The custom metadata assigned to add to the server.
RemoveCustomConfiguration [in]
The custom metadata assigned to remove from the server.
Owner [in]
The owner of the server.
Output [out]
When this method returns, this parameter contains the updated server object.
Return value
Returns 0 on success, otherwise returns a WMI error code.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\Microsoft\IPAM |
MOF |
|
DLL |
|