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.
