MicrosoftDNS_WINSType class

The subclass of MicrosoftDNS_ResourceRecord that represents a Windows Internet Name Service (WINS) record.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_WINSType : MicrosoftDNS_ResourceRecord
{
  uint32 MappingFlag;
  uint32 LookupTimeout;
  uint32 CacheTimeout;
  string WinsServers;
};

Members

The MicrosoftDNS_WINSType class has these types of members:

Methods

The MicrosoftDNS_WINSType class has these methods.

Method Description
CreateInstanceFromPropertyData Instantiates a WINS 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 WINS mapping flag, look-up time out, cache time out and list of IP addresses for look up. It returns a reference to the new object as an output parameter.
Qualifiers: Implemented, static
Modify Updates the TTL, Mapping Flag, Look-up Time out, Cache Time out and Wins Servers 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_WINSType class has these properties.

CacheTimeout

Data type: uint32

Access type: Read-only

Time, in seconds, that a DNS Server using WINS Look up may cache the WINS server's response.

LookupTimeout

Data type: uint32

Access type: Read-only

Time, in seconds, that a DNS Server attempts resolution using WINS Look up.

MappingFlag

Data type: uint32

Access type: Read-only

WINS mapping flag that specifies whether the record must be included into the zone replication. It may have only two values: 0x80000000 and 0x00010000 corresponding to the replication and no-replication (local record) flags, respectively. The following values are valid.

Value Meaning
0x80000000
Replication flag
0x00010000
No-replication (local record) flag

WinsServers

Data type: string

Access type: Read-only

List of comma-separated IP addresses of WINS servers used in WINS Look ups.

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

Modify Method of the MicrosoftDNS_WINSType Class

MicrosoftDNS_ResourceRecord