Share via


BulkAddOrUpdateSubnet method of the MSFT_IPAM_Subnet class

Adds or updates a set of subnets in IPAM.

Syntax

uint32 BulkAddOrUpdateSubnet(
  [in]  MSFT_IPAM_Subnet          Subnet[],
  [out] MSFT_IPAM_OperationStatus Output[]
);

Parameters

Subnet [in]

An array that contains the subnet objects to add or update.

Output [out]

When this method returns, this parameter contains the operational status for each new and updated subnet 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
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_Subnet