次の方法で共有


GetByName method of the PS_DnsServerDirectoryPartition class

Retrieve DNS server directory partition.

Syntax

uint32 GetByName(
  [in]  string                      Name,
  [in]  string                      ComputerName,
  [out] DnsServerDirectoryPartition cmdletOutput
);

Parameters

Name [in]

The fully qualified domain name of the DNS application directory partition that will be created.

ComputerName [in]

Specifies the remote computer on which to execute the command.

cmdletOutput [out]

Receives an embedded instance of the DnsServerDirectoryPartition class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
Header
Wmp.h
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerDirectoryPartition