Add method of the MSFT_IPAM_DiscoveryDomain class
Adds an Active Directory domain to the IPAM database that is used to discover IP infrastructure servers.
Syntax
uint32 Add(
[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 to add.
-
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 added 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 |
|
DLL |
|