DomainController Class

Definition

The DomainController class represents a domain controller in an Active Directory domain.

public ref class DomainController : System::DirectoryServices::ActiveDirectory::DirectoryServer
public class DomainController : System.DirectoryServices.ActiveDirectory.DirectoryServer
type DomainController = class
    inherit DirectoryServer
Public Class DomainController
Inherits DirectoryServer
Inheritance
DomainController
Derived

Constructors

DomainController()

Initializes a new instance of the DomainController class.

Properties

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.

IPAddress

Gets the IP address of this domain controller.

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.

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.

SyncFromAllServersCallback

Gets or sets the synchronization delegate for this domain controller.

Methods

CheckReplicationConsistency()

Uses the Knowledge Consistency Checker (KCC) to verify the replication topology for this domain controller.

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.

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 Finalize() method.

FindAll(DirectoryContext, String)

Finds all domain controllers in the specified context and site.

FindAll(DirectoryContext)

Finds all domain controllers in the specified context.

FindOne(DirectoryContext, LocatorOptions)

Finds a single domain controller in the specified context, allowing for additional search options.

FindOne(DirectoryContext, String, LocatorOptions)

Finds a single domain controller in the specified context and site, allowing for additional search options.

FindOne(DirectoryContext, String)

Finds a single domain controller in the specified context and site.

FindOne(DirectoryContext)

Finds a single domain controller in the specified context.

GetAllReplicationNeighbors()

Retrieves the replication neighbors for this domain controller.

GetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the directory server.

(Inherited from DirectoryServer)
GetDirectorySearcher()

Retrieves a DirectorySearcher object for the domain controller.

GetDomainController(DirectoryContext)

Retrieves a DomainController object for the specified context.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReplicationConnectionFailures()

Retrieves a list of the replication connection failures recorded by this domain controller.

GetReplicationCursors(String)

Retrieves the replication cursor information for the specified partition.

GetReplicationMetadata(String)

Retrieves the replication metadata for a specific Active Directory Domain Services object.

GetReplicationNeighbors(String)

Retrieves the replication neighbors for the specified partition.

GetReplicationOperationInformation()

Retrieves the current and pending replication operations for this domain controller.

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(String)

Moves the directory server to another site within the forest or configuration set.

(Inherited from DirectoryServer)
SeizeRoleOwnership(ActiveDirectoryRole)

Causes this domain controller to take ownership of the specified role.

SyncReplicaFromAllServers(String, SyncFromAllServersOptions)

Causes this domain controller to synchronize the specified partition with all other domain controllers.

SyncReplicaFromServer(String, String)

Causes this domain controller to synchronize the specified partition with the specified domain controller.

ToString()

Retrieves the name of the directory server.

(Inherited from DirectoryServer)
TransferRoleOwnership(ActiveDirectoryRole)

Causes ownership of the specified role to be transferred to this domain controller.

TriggerSyncReplicaFromNeighbors(String)

Begins a synchronization of the specified partition.

Applies to