DirectoryServer Class
.NET Framework 4.5
The DirectoryServer class is an abstract class that represents an Active Directory Domain Services server or AD LDS instance.
System.Object
System.DirectoryServices.ActiveDirectory.DirectoryServer
System.DirectoryServices.ActiveDirectory.AdamInstance
System.DirectoryServices.ActiveDirectory.DomainController
System.DirectoryServices.ActiveDirectory.DirectoryServer
System.DirectoryServices.ActiveDirectory.AdamInstance
System.DirectoryServices.ActiveDirectory.DomainController
Namespace: System.DirectoryServices.ActiveDirectory
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
The DirectoryServer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | InboundConnections | Retrieves the inbound replication connections for this directory server. |
![]() | IPAddress | Retrieves the IP address of this directory server. |
![]() | Name | Gets the name of the directory server. |
![]() | OutboundConnections | Gets the outbound replication connections for this directory server. |
![]() | Partitions | Gets the partitions on this directory server. |
![]() | SiteName | Gets the name of the site that this directory server belongs to. |
![]() | SyncFromAllServersCallback | Gets or sets the synchronization delegate for this directory server. |
| Name | Description | |
|---|---|---|
![]() | CheckReplicationConsistency | Uses the Knowledge Consistency Checker (KCC) to verify and recalculate the replication topology for this server. |
![]() | Dispose() | Releases all managed and unmanaged resources that are used by the object. |
![]() | Dispose(Boolean) | Releases all unmanaged resources and, optionally, all managed resources that are used by the object. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Overrides the Object.Finalize method. (Overrides Object.Finalize().) |
![]() | GetAllReplicationNeighbors | Retrieves all of the replication neighbors for this object. |
![]() | GetDirectoryEntry | Retrieves a DirectoryEntry object that represents the directory server. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetReplicationConnectionFailures | Retrieves a collection of the replication connection failures for this directory server. |
![]() | GetReplicationCursors | Retrieves the replication cursor information for the specified partition. |
![]() | GetReplicationMetadata | Retrieves the replication metadata for a specific Active Directory Domain Services object. |
![]() | GetReplicationNeighbors | Retrieves the replication neighbors of this directory server for the specified partition. |
![]() | GetReplicationOperationInformation | Retrieves the current and pending replication operations for this directory server. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | 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. |
![]() | SyncReplicaFromAllServers | Causes this directory server to synchronize the specified partition with all other directory servers in the same site that hosts the partition. |
![]() | SyncReplicaFromServer | Causes this directory server to synchronize the specified partition with the specified directory server. |
![]() | ToString | Retrieves the name of the directory server. (Overrides Object.ToString().) |
![]() | TriggerSyncReplicaFromNeighbors | Begins a synchronization of the specified partition. |
- DirectoryServicesPermission
Demand value: LinkDemand
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


