MicrosoftDNS_WKSType class

The subclass of MicrosoftDNS_ResourceRecord that represents a Well-Known Services (WKS) record.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_WKSType : MicrosoftDNS_ResourceRecord
{
  string InternetAddress;
  string IPProtocol;
  string Services;
};

Members

The MicrosoftDNS_WKSType class has these types of members:

Methods

The MicrosoftDNS_WKSType class has these methods.

Method Description
CreateInstanceFromPropertyData Instantiates a WKS Type of RR based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name, class (default = IN), time-to-live value, and the owner's Internet Address, IP protocol and port bit mask. It returns a reference to the new object as an output parameter.
Qualifiers: Implemented, static
Modify This method updates the TTL, Internet Address, IP Protocol, and Services to the values specified as the input parameters of this method. If a new value for a parameter is not specified, then the current value for the parameter is not changed. The method returns a reference to the modified object as an output parameter.
Qualifiers: Implemented

Properties

The MicrosoftDNS_WKSType class has these properties.

InternetAddress

Data type: string

Access type: Read-only

Internet IP address for the record's owner.

IPProtocol

Data type: string

Access type: Read-only

String representing the IP protocol for this record. Valid values are UDP or TCP.

Services

Data type: string

Access type: Read-only

String containing all services used by the Well Known Service (WKS) record.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows 2000 Server [desktop apps only]
Namespace
Root\MicrosoftDNS
MOF
Dnsprov.mof

See also

CreateInstanceFromPropertyData Method of the MicrosoftDNS_WKSType Class

Modify Method of the MicrosoftDNS_WKSType Class

MicrosoftDNS_ResourceRecord