Partager via


Remove method of the MSFT_IPAM_DiscoveryDomain class

Deletes an Active Directory domain from the IPAM database that is used to discover IP infrastructure servers.

Syntax

uint32 Remove(
  [in]  string                    Name,
  [out] MSFT_IPAM_DiscoveryDomain DiscoveryDomain
);

Parameters

Name [in]

The name of the domain to delete.

DiscoveryDomain [out]

When this method returns, this parameter receives the deleted domain.

Return value

Returns "0" if the operation completes successfully; 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_DiscoveryDomain