大网数据广告活动
网络与域名解析

MicrosoftDNS_WINSType class

· 52CE 我爱测

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

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。