Partager via


Get method of the Ps_DnsServerClientSubnet class

Enumerate the client subnet record data

Syntax

uint32 Get(
  [in]  string                Name,
  [in]  string                ComputerName,
  [out] DnsServerClientSubnet cmdletOutput[]
);

Parameters

Name [in]

The name of the client subnet record.

ComputerName [in]

The name of the remote computer on which to execute the command.

cmdletOutput [out]

When this method returns, this parameter receives an embedded instance of the DnsServerClientSubnet object that represents the retrieved subnet record.

Return value

If this operation succeeds, this method returns "0"; otherwise, it returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

Ps_DnsServerClientSubnet