Edit

Share via


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