Compartilhar via


Modify method of the MSFT_IPAM_DiscoveryDomain class

Updates the IPAM discovery settings for a domain.

Syntax

uint32 Modify(
  [in]  string                    Name,
  [in]  boolean                   DiscoverDc,
  [in]  boolean                   DiscoverDns,
  [in]  boolean                   DiscoverDhcp,
  [out] MSFT_IPAM_DiscoveryDomain DiscoveryDomain
);

Parameters

Name [in]

The name of the domain.

DiscoverDc [in]

True to enable IPAM to discover domain controllers on the domain; otherwise, false.

DiscoverDns [in]

True to enable IPAM to discover DNS servers on the domain; otherwise, false.

DiscoverDhcp [in]

True to enable IPAM to discover DHCP servers on the domain; otherwise, false.

DiscoveryDomain [out]

When this method returns, this parameter receives the updated 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