Share via


SetIpamAddressUtilizationThreshold method of the MSFT_IPAM_IPAddressUtilizationThreshold class

Updates the utilization thresholds for an IP address range, subnet mask, or block.

Syntax

uint32 SetIpamAddressUtilizationThreshold(
  [in]  uint32                                  UnderUtilizationThreshold,
  [in]  uint32                                  OverUtilizationThreshold,
  [out] MSFT_IPAM_IPAddressUtilizationThreshold Output
);

Parameters

UnderUtilizationThreshold [in]

The updated threshold percentage that indicates whether an IP address range, subnet, or block is underutilized.

OverUtilizationThreshold [in]

The updated threshold percentage that indicates whether an IP address range, subnet, or block is overutilized.

Output [out]

When this method returns, this parameter contains the updated set of utilization thresholds.

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_IPAddressUtilizationThreshold