大网数据广告活动
域与目录服务

MSAD_DomainController class

· 52CE 我爱测

Represents the domain controller (DC) on which the WMI provider is running.

Represents the domain controller (DC) on which the WMI provider is running.

Syntax

[dynamic, provider("ReplProv1")]
class  MSAD_DomainController
{
  String   DistinguishedName;
  String   CommonName;
  String   SiteName;
  String   NTDsaGUID;
  boolean  IsGC = FALSE;
  datetime TimeOfOldestReplSync;
  datetime TimeOfOldestReplAdd;
  datetime TimeOfOldestReplDel;
  datetime TimeOfOldestReplMod;
  datetime TimeOfOldestReplUpdRefs;
  boolean  IsNextRIDPoolAvailable = FALSE;
  uint32   PercentOfRIDsLeft;
  boolean  IsRegisteredInDNS;
  boolean  IsAdvertisingToLocator = FALSE;
  boolean  IsSysVolReady = FALSE;
};

Members

The MSAD_DomainController class has these types of members:

Methods

The MSAD_DomainController class has these methods.

Method Description
ExecuteKCC Invokes the Knowledge Consistency Checker to verify the replication topology.

Properties

The MSAD_DomainController class has these properties.

CommonName

Data type: String

Access type: Read-only

Gets the common name of the server object.

DistinguishedName

Data type: String

Access type: Read-only

Qualifiers: key

Gets the X.500 path of the NTDS-DSA object.

IsAdvertisingToLocator

Data type: boolean

Access type: Read-only

Gets the value that indicates whether the locator service on the DC is advertising correctly. TRUE if the locator service on the DC is advertising correctly; otherwise, FALSE.

IsGC

Data type: boolean

Access type: Read-only

Gets the value that indicates whether the DC is a Global Catalog server. TRUE if the DC is a Global Catalog server; otherwise, FALSE.

IsNextRIDPoolAvailable

Data type: boolean

Access type: Read-only

Gets the value that indicates whether the DC has obtained another RID pool. TRUE if the DC has obtained another RID pool and allocation of RIDs on this DC can continue even if the current pool of RIDs is exhausted; otherwise, FALSE.

IsRegisteredInDNS

Data type: boolean

Access type: Read-only

Gets the value that indicates whether the DC is registered correctly in DNS. TRUE if the DC is registered correctly in DNS; otherwise, FALSE.

IsSysVolReady

Data type: boolean

Access type: Read-only

Gets the value that indicates whether the SysVol has published correctly. TRUE if the SysVol has published correctly; otherwise, FALSE.

NTDsaGUID

Data type: String

Access type: Read-only

Gets the GUID that is associated with the NTDS-DSA object in the configuration container. The NTDS-DSA object represents the Active Directory Domain Service DSA process on the server.

PercentOfRIDsLeft

Data type: uint32

Access type: Read-only

Gets the percentage of RIDs that are left in the current RID pool on this DC.

SiteName

Data type: String

Access type: Read-only

Gets the site in which the DC exists.

TimeOfOldestReplAdd

Data type: datetime

Access type: Read-only

Gets the timestamp of the oldest replication add operation that is still in the queue on this domain controller.

TimeOfOldestReplDel

Data type: datetime

Access type: Read-only

Gets the timestamp of the oldest replication delete operation that is still in the queue on this domain controller.

TimeOfOldestReplMod

Data type: datetime

Access type: Read-only

Gets the timestamp of the oldest replication modify operation that is still in the queue on this domain controller.

TimeOfOldestReplSync

Data type: datetime

Access type: Read-only

Gets the timestamp of the oldest replication sync operation that is still in the queue on this domain controller.

TimeOfOldestReplUpdRefs

Data type: datetime

Access type: Read-only

Gets the timestamp of the oldest replication update operation that is still in the queue on this domain controller.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Namespace Root\MicrosoftActiveDirectory
MOF Replprov.mof
DLL Replprov.dll

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)

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

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