This documentation is archived and is not being maintained.
DomainController Class
Visual Studio 2010
The DomainController class represents a domain controller in an Active Directory domain.
System::Object
System.DirectoryServices.ActiveDirectory::DirectoryServer
System.DirectoryServices.ActiveDirectory::DomainController
System.DirectoryServices.ActiveDirectory::GlobalCatalog
System.DirectoryServices.ActiveDirectory::DirectoryServer
System.DirectoryServices.ActiveDirectory::DomainController
System.DirectoryServices.ActiveDirectory::GlobalCatalog
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
The DomainController type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CurrentTime | Gets the current date and time from this domain controller. |
![]() | Domain | Gets the domain that this domain controller is a member of. |
![]() | Forest | Gets the forest that this domain controller is a member of. |
![]() | HighestCommittedUsn | Gets the highest update sequence number that has been committed to this domain controller. |
![]() | InboundConnections | Gets the inbound replication connections for this domain controller. (Overrides DirectoryServer::InboundConnections.) |
![]() | IPAddress | Gets the IP address of this domain controller. (Overrides DirectoryServer::IPAddress.) |
![]() | Name | Gets the name of the directory server. (Inherited from DirectoryServer.) |
![]() | OSVersion | Gets the operating system version of this domain controller. |
![]() | OutboundConnections | Gets the outbound replication connections for this domain controller. (Overrides DirectoryServer::OutboundConnections.) |
![]() | Partitions | Gets the partitions on this directory server. (Inherited from DirectoryServer.) |
![]() | Roles | Gets the roles that this domain controller serves. |
![]() | SiteName | Gets the name of the site that this domain controller belongs to. (Overrides DirectoryServer::SiteName.) |
![]() | SyncFromAllServersCallback | Gets or sets the synchronization delegate for this domain controller. (Overrides DirectoryServer::SyncFromAllServersCallback.) |
| Name | Description | |
|---|---|---|
![]() | CheckReplicationConsistency | Uses the Knowledge Consistency Checker (KCC) to verify the replication topology for this domain controller. (Overrides DirectoryServer::CheckReplicationConsistency().) |
![]() | Dispose() | Releases all managed and unmanaged resources that are used by the object. (Inherited from DirectoryServer.) |
![]() | Dispose(Boolean) | Causes the object to release all managed and/or unmanaged resources. (Overrides DirectoryServer::Dispose(Boolean).) |
![]() | EnableGlobalCatalog | Promotes this domain controller to a global catalog server. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Overrides the Object::Finalize method. (Overrides DirectoryServer::Finalize().) |
![]() ![]() | FindAll(DirectoryContext) | Finds all domain controllers in the specified context. |
![]() ![]() | FindAll(DirectoryContext, String) | Finds all domain controllers in the specified context and site. |
![]() ![]() | FindOne(DirectoryContext) | Finds a single domain controller in the specified context. |
![]() ![]() | FindOne(DirectoryContext, LocatorOptions) | Finds a single domain controller in the specified context, allowing for additional search options. |
![]() ![]() | FindOne(DirectoryContext, String) | Finds a single domain controller in the specified context and site. |
![]() ![]() | FindOne(DirectoryContext, String, LocatorOptions) | Finds a single domain controller in the specified context and site, allowing for additional search options. |
![]() | GetAllReplicationNeighbors | Retrieves the replication neighbors for this domain controller. (Overrides DirectoryServer::GetAllReplicationNeighbors().) |
![]() | GetDirectoryEntry | Retrieves a DirectoryEntry object that represents the directory server. (Inherited from DirectoryServer.) |
![]() | GetDirectorySearcher | Retrieves a DirectorySearcher object for the domain controller. |
![]() ![]() | GetDomainController | Retrieves a DomainController object for the specified context. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetReplicationConnectionFailures | Retrieves a list of the replication connection failures recorded by this domain controller. (Overrides DirectoryServer::GetReplicationConnectionFailures().) |
![]() | GetReplicationCursors | Retrieves the replication cursor information for the specified partition. (Overrides DirectoryServer::GetReplicationCursors(String).) |
![]() | GetReplicationMetadata | Retrieves the replication metadata for a specific Active Directory Domain Services object. (Overrides DirectoryServer::GetReplicationMetadata(String).) |
![]() | GetReplicationNeighbors | Retrieves the replication neighbors for the specified partition. (Overrides DirectoryServer::GetReplicationNeighbors(String).) |
![]() | GetReplicationOperationInformation | Retrieves the current and pending replication operations for this domain controller. (Overrides DirectoryServer::GetReplicationOperationInformation().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsGlobalCatalog | Determines if this domain controller is a global catalog server. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveToAnotherSite | Moves the directory server to another site within the forest or configuration set. (Inherited from DirectoryServer.) |
![]() | SeizeRoleOwnership | Causes this domain controller to take ownership of the specified role. |
![]() | SyncReplicaFromAllServers | Causes this domain controller to synchronize the specified partition with all other domain controllers. (Overrides DirectoryServer::SyncReplicaFromAllServers(String, SyncFromAllServersOptions).) |
![]() | SyncReplicaFromServer | Causes this domain controller to synchronize the specified partition with the specified domain controller. (Overrides DirectoryServer::SyncReplicaFromServer(String, String).) |
![]() | ToString | Retrieves the name of the directory server. (Inherited from DirectoryServer.) |
![]() | TransferRoleOwnership | Causes ownership of the specified role to be transferred to this domain controller. |
![]() | TriggerSyncReplicaFromNeighbors | Begins a synchronization of the specified partition. (Overrides DirectoryServer::TriggerSyncReplicaFromNeighbors(String).) |
- DirectoryServicesPermission
Demand value: LinkDemand
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
