Share via


SetIpamConfiguration method of the MSFT_IPAM_ServerConfiguration class

Updates the configuration for an IPAM server.

Syntax

uint32 SetIpamConfiguration(
  [in]  uint16                        Port,
  [in]  uint16                        ProvisioningMethod,
  [in]  string                        GpoPrefix,
  [in]  string                        HMACKey,
  [out] MSFT_IPAM_ServerConfiguration Output
);

Parameters

Port [in]

The TCP port number used to provision the server.

ProvisioningMethod [in]

The provisioning method to configure on the server.

GpoPrefix [in]

The GPO prefix to use for Group Policy based provisioning.

HMACKey [in]

TBD

Output [out]

When this method returns, this parameter contains a MSFT_IPAM_ServerConfiguration containing the updated server configuration.

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
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_ServerConfiguration