MicrosoftDNS_NSType class

The subclass of MicrosoftDNS_ResourceRecord that represents a Name Server (NS) record.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_NSType : MicrosoftDNS_ResourceRecord
{
  string NSHost;
};

Members

The MicrosoftDNS_NSType class has these types of members:

Methods

The MicrosoftDNS_NSType class has these methods.

Method Description
CreateInstanceFromPropertyData Instantiates a DNS NS Resource Record 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 host with authority for the domain. It returns a reference to the new object as an output parameter.
Qualifiers: Implemented, static
Modify Updates the TTL and NS Host 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_NSType class has these properties.

NSHost

Data type: string

Access type: Read-only

Authoritative host for the domain.

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_NSType Class

Modify Method of the MicrosoftDNS_NSType Class

MicrosoftDNS_ResourceRecord