This topic has not yet been rated - Rate this topic

DomainController Class

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

Namespace:  System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)
[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public class DomainController : DirectoryServer

The DomainController type exposes the following members.

  Name Description
Protected method DomainController Initializes a new instance of the DomainController class.
Top
  Name Description
Public property CurrentTime Gets the current date and time from this domain controller.
Public property Domain Gets the domain that this domain controller is a member of.
Public property Forest Gets the forest that this domain controller is a member of.
Public property HighestCommittedUsn Gets the highest update sequence number that has been committed to this domain controller.
Public property InboundConnections Gets the inbound replication connections for this domain controller. (Overrides DirectoryServer.InboundConnections.)
Public property IPAddress Gets the IP address of this domain controller. (Overrides DirectoryServer.IPAddress.)
Public property Name Gets the name of the directory server. (Inherited from DirectoryServer.)
Public property OSVersion Gets the operating system version of this domain controller.
Public property OutboundConnections Gets the outbound replication connections for this domain controller. (Overrides DirectoryServer.OutboundConnections.)
Public property Partitions Gets the partitions on this directory server. (Inherited from DirectoryServer.)
Public property Roles Gets the roles that this domain controller serves.
Public property SiteName Gets the name of the site that this domain controller belongs to. (Overrides DirectoryServer.SiteName.)
Public property SyncFromAllServersCallback Gets or sets the synchronization delegate for this domain controller. (Overrides DirectoryServer.SyncFromAllServersCallback.)
Top
  Name Description
Public method CheckReplicationConsistency Uses the Knowledge Consistency Checker (KCC) to verify the replication topology for this domain controller. (Overrides DirectoryServer.CheckReplicationConsistency().)
Public method Dispose() Releases all managed and unmanaged resources that are used by the object. (Inherited from DirectoryServer.)
Protected method Dispose(Boolean) Causes the object to release all managed and/or unmanaged resources. (Overrides DirectoryServer.Dispose(Boolean).)
Public method EnableGlobalCatalog Promotes this domain controller to a global catalog server.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Overrides the Object.Finalize method. (Overrides DirectoryServer.Finalize().)
Public method Static member FindAll(DirectoryContext) Finds all domain controllers in the specified context.
Public method Static member FindAll(DirectoryContext, String) Finds all domain controllers in the specified context and site.
Public method Static member FindOne(DirectoryContext) Finds a single domain controller in the specified context.
Public method Static member FindOne(DirectoryContext, LocatorOptions) Finds a single domain controller in the specified context, allowing for additional search options.
Public method Static member FindOne(DirectoryContext, String) Finds a single domain controller in the specified context and site.
Public method Static member FindOne(DirectoryContext, String, LocatorOptions) Finds a single domain controller in the specified context and site, allowing for additional search options.
Public method GetAllReplicationNeighbors Retrieves the replication neighbors for this domain controller. (Overrides DirectoryServer.GetAllReplicationNeighbors().)
Public method GetDirectoryEntry Retrieves a DirectoryEntry object that represents the directory server. (Inherited from DirectoryServer.)
Public method GetDirectorySearcher Retrieves a DirectorySearcher object for the domain controller.
Public method Static member GetDomainController Retrieves a DomainController object for the specified context.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetReplicationConnectionFailures Retrieves a list of the replication connection failures recorded by this domain controller. (Overrides DirectoryServer.GetReplicationConnectionFailures().)
Public method GetReplicationCursors Retrieves the replication cursor information for the specified partition. (Overrides DirectoryServer.GetReplicationCursors(String).)
Public method GetReplicationMetadata Retrieves the replication metadata for a specific Active Directory Domain Services object. (Overrides DirectoryServer.GetReplicationMetadata(String).)
Public method GetReplicationNeighbors Retrieves the replication neighbors for the specified partition. (Overrides DirectoryServer.GetReplicationNeighbors(String).)
Public method GetReplicationOperationInformation Retrieves the current and pending replication operations for this domain controller. (Overrides DirectoryServer.GetReplicationOperationInformation().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsGlobalCatalog Determines if this domain controller is a global catalog server.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveToAnotherSite Moves the directory server to another site within the forest or configuration set. (Inherited from DirectoryServer.)
Public method SeizeRoleOwnership Causes this domain controller to take ownership of the specified role.
Public method SyncReplicaFromAllServers Causes this domain controller to synchronize the specified partition with all other domain controllers. (Overrides DirectoryServer.SyncReplicaFromAllServers(String, SyncFromAllServersOptions).)
Public method SyncReplicaFromServer Causes this domain controller to synchronize the specified partition with the specified domain controller. (Overrides DirectoryServer.SyncReplicaFromServer(String, String).)
Public method ToString Retrieves the name of the directory server. (Inherited from DirectoryServer.)
Public method TransferRoleOwnership Causes ownership of the specified role to be transferred to this domain controller.
Public method TriggerSyncReplicaFromNeighbors Begins a synchronization of the specified partition. (Overrides DirectoryServer.TriggerSyncReplicaFromNeighbors(String).)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ