Freigeben über


DnsServerResourceRecordWks class

Represents a well-known service (WKS) resource record on a DNS server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerResourceRecordWks : DnsServerResourceRecordData
{
  string InternetAddress;
  string Service[];
  string InternetProtocol;
};

Members

The DnsServerResourceRecordWks class has these types of members:

Properties

The DnsServerResourceRecordWks class has these properties.

InternetAddress

Data type: string

Access type: Read/write

The internet address assigned to the resource record.

InternetProtocol

Data type: string

Access type: Read/write

The name of IP protocol that provides the services that are described by the WKS resource record.

The possible values are.

UDP ("UDP")

TCP ("TCP")

Service

Data type: string array

Access type: Read/write

An array that contains the container name of the services that are described by the WKS resource record.

Requirements

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

See also

DnsServerResourceRecordData

DnsServerPSProvider Provider