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 ref class DomainController : DirectoryServer

NameDescription
System_CAPS_protmethodDomainController()

Initializes a new instance of the DomainController class.

NameDescription
System_CAPS_pubpropertyCurrentTime

Gets the current date and time from this domain controller.

System_CAPS_pubpropertyDomain

Gets the domain that this domain controller is a member of.

System_CAPS_pubpropertyForest

Gets the forest that this domain controller is a member of.

System_CAPS_pubpropertyHighestCommittedUsn

Gets the highest update sequence number that has been committed to this domain controller.

System_CAPS_pubpropertyInboundConnections

Gets the inbound replication connections for this domain controller.(Overrides DirectoryServer::InboundConnections.)

System_CAPS_pubpropertyIPAddress

Gets the IP address of this domain controller.(Overrides DirectoryServer::IPAddress.)

System_CAPS_pubpropertyName

Gets the name of the directory server.(Inherited from DirectoryServer.)

System_CAPS_pubpropertyOSVersion

Gets the operating system version of this domain controller.

System_CAPS_pubpropertyOutboundConnections

Gets the outbound replication connections for this domain controller.(Overrides DirectoryServer::OutboundConnections.)

System_CAPS_pubpropertyPartitions

Gets the partitions on this directory server.(Inherited from DirectoryServer.)

System_CAPS_pubpropertyRoles

Gets the roles that this domain controller serves.

System_CAPS_pubpropertySiteName

Gets the name of the site that this domain controller belongs to.(Overrides DirectoryServer::SiteName.)

System_CAPS_pubpropertySyncFromAllServersCallback

Gets or sets the synchronization delegate for this domain controller.(Overrides DirectoryServer::SyncFromAllServersCallback.)

NameDescription
System_CAPS_pubmethodCheckReplicationConsistency()

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

System_CAPS_pubmethodDispose()

Releases all managed and unmanaged resources that are used by the object.(Inherited from DirectoryServer.)

System_CAPS_protmethodDispose(Boolean)

Causes the object to release all managed and/or unmanaged resources.(Overrides DirectoryServer::Dispose(Boolean).)

System_CAPS_pubmethodEnableGlobalCatalog()

Promotes this domain controller to a global catalog server.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Overrides the Object::Finalize method.(Overrides DirectoryServer::Finalize().)

System_CAPS_pubmethodSystem_CAPS_staticFindAll(DirectoryContext^)

Finds all domain controllers in the specified context.

System_CAPS_pubmethodSystem_CAPS_staticFindAll(DirectoryContext^, String^)

Finds all domain controllers in the specified context and site.

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext^)

Finds a single domain controller in the specified context.

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext^, LocatorOptions)

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

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext^, String^)

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

System_CAPS_pubmethodSystem_CAPS_staticFindOne(DirectoryContext^, String^, LocatorOptions)

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

System_CAPS_pubmethodGetAllReplicationNeighbors()

Retrieves the replication neighbors for this domain controller.(Overrides DirectoryServer::GetAllReplicationNeighbors().)

System_CAPS_pubmethodGetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the directory server.(Inherited from DirectoryServer.)

System_CAPS_pubmethodGetDirectorySearcher()

Retrieves a DirectorySearcher object for the domain controller.

System_CAPS_pubmethodSystem_CAPS_staticGetDomainController(DirectoryContext^)

Retrieves a DomainController object for the specified context.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetReplicationConnectionFailures()

Retrieves a list of the replication connection failures recorded by this domain controller.(Overrides DirectoryServer::GetReplicationConnectionFailures().)

System_CAPS_pubmethodGetReplicationCursors(String^)

Retrieves the replication cursor information for the specified partition.(Overrides DirectoryServer::GetReplicationCursors(String^).)

System_CAPS_pubmethodGetReplicationMetadata(String^)

Retrieves the replication metadata for a specific Active Directory Domain Services object.(Overrides DirectoryServer::GetReplicationMetadata(String^).)

System_CAPS_pubmethodGetReplicationNeighbors(String^)

Retrieves the replication neighbors for the specified partition.(Overrides DirectoryServer::GetReplicationNeighbors(String^).)

System_CAPS_pubmethodGetReplicationOperationInformation()

Retrieves the current and pending replication operations for this domain controller.(Overrides DirectoryServer::GetReplicationOperationInformation().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsGlobalCatalog()

Determines if this domain controller is a global catalog server.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveToAnotherSite(String^)

Moves the directory server to another site within the forest or configuration set.(Inherited from DirectoryServer.)

System_CAPS_pubmethodSeizeRoleOwnership(ActiveDirectoryRole)

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

System_CAPS_pubmethodSyncReplicaFromAllServers(String^, SyncFromAllServersOptions)

Causes this domain controller to synchronize the specified partition with all other domain controllers.(Overrides DirectoryServer::SyncReplicaFromAllServers(String^, SyncFromAllServersOptions).)

System_CAPS_pubmethodSyncReplicaFromServer(String^, String^)

Causes this domain controller to synchronize the specified partition with the specified domain controller.(Overrides DirectoryServer::SyncReplicaFromServer(String^, String^).)

System_CAPS_pubmethodToString()

Retrieves the name of the directory server.(Inherited from DirectoryServer.)

System_CAPS_pubmethodTransferRoleOwnership(ActiveDirectoryRole)

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

System_CAPS_pubmethodTriggerSyncReplicaFromNeighbors(String^)

Begins a synchronization of the specified partition.(Overrides DirectoryServer::TriggerSyncReplicaFromNeighbors(String^).)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: