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

MicrosoftDNS_Domain class

· 52CE 我爱测

The MicrosoftDNS_Domain class represents a Domain in a DNS hierarchy.

The MicrosoftDNS_Domain class represents a Domain in a DNS hierarchy.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_Domain : CIM_LogicalElement
{
  string DnsServerName;
  string ContainerName;
  string Name;
};

Members

The MicrosoftDNS_Domain class has these types of members:

Methods

The MicrosoftDNS_Domain class has these methods.

Method Description
GetDistinguishedName Obtains DS distinguished Name for the zone. Qualifiers: Implemented

Properties

The MicrosoftDNS_Domain class has these properties.

ContainerName

Data type: string

Access type: Read-only

Name of the container of the domain, which could be a Zone, Cache, or RootHints.

In cases where the Container is a Zone (an instance of the MicrosoftDNS_Zone class), this property contains the FQDN of the Zone.

When the Container is the root zone, the string \.\ should be used.

In cases where the Container is the DNS cache of resource records (an instance of the MicrosoftDNS_Cache class), this property is set to the string \..Cache\.

If the Container is RootHints (an instance of the MicrosoftDNS_RootHints class), this property should be set to \..RootHints\.

DnsServerName

Data type: string

Access type: Read-only

FQDN or IP address of the DNS Server that contains the domain.

Name

Data type: string

Access type: Read-only

FQDN of the domain.

For instances of DNS Cache or RootHints, the strings \..Cache\ and \..RootHints\ should be used, respectively.

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

GetDistinguishedName Method of the MicrosoftDNS_Domain Class

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)

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

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