次の方法で共有


Get method of the PS_DhcpServerv4DnsSetting class

Gets the DNS Update settings configured for a specific scope or reservation or server level.

Syntax

uint32 Get(
  [in]  string                 IPAddress,
  [in]  string                 ScopeId,
  [in]  string                 ComputerName,
  [in]  string                 PolicyName,
  [out] DhcpServerv4DnsSetting cmdletOutput
);

Parameters

IPAddress [in]

IP address of the reservation for which the DNS update settings are to be retrieved

ScopeId [in]

Scope identifier ( in IPv4 address format) for which the DNS update settings are to be retrieved

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

PolicyName [in]

Specifies the policy for which DNS settings are to be modified.

Windows Server 2012: This parameter is supported beginning with Windows Server 2012 R2.

cmdletOutput [out]

An embedded instance of a DhcpServerv4DnsSetting object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv4DnsSetting