This topic has not yet been rated - Rate this topic

DirectoryServer Class

The DirectoryServer class is an abstract class that represents an Active Directory Domain Services server or AD LDS instance.

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

The DirectoryServer type exposes the following members.

  Name Description
Protected method DirectoryServer Initializes a new instance of the DirectoryServer class.
Top
  Name Description
Public property InboundConnections Retrieves the inbound replication connections for this directory server.
Public property IPAddress Retrieves the IP address of this directory server.
Public property Name Gets the name of the directory server.
Public property OutboundConnections Gets the outbound replication connections for this directory server.
Public property Partitions Gets the partitions on this directory server.
Public property SiteName Gets the name of the site that this directory server belongs to.
Public property SyncFromAllServersCallback Gets or sets the synchronization delegate for this directory server.
Top
  Name Description
Public method CheckReplicationConsistency Uses the Knowledge Consistency Checker (KCC) to verify and recalculate the replication topology for this server.
Public method Dispose() Releases all managed and unmanaged resources that are used by the object.
Protected method Dispose(Boolean) Releases all unmanaged resources and, optionally, all managed resources that are used by the object.
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 Object.Finalize().)
Public method GetAllReplicationNeighbors Retrieves all of the replication neighbors for this object.
Public method GetDirectoryEntry Retrieves a DirectoryEntry object that represents the directory server.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetReplicationConnectionFailures Retrieves a collection of the replication connection failures for this directory server.
Public method GetReplicationCursors Retrieves the replication cursor information for the specified partition.
Public method GetReplicationMetadata Retrieves the replication metadata for a specific Active Directory Domain Services object.
Public method GetReplicationNeighbors Retrieves the replication neighbors of this directory server for the specified partition.
Public method GetReplicationOperationInformation Retrieves the current and pending replication operations for this directory server.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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.
Public method SyncReplicaFromAllServers Causes this directory server to synchronize the specified partition with all other directory servers in the same site that hosts the partition.
Public method SyncReplicaFromServer Causes this directory server to synchronize the specified partition with the specified directory server.
Public method ToString Retrieves the name of the directory server. (Overrides Object.ToString().)
Public method TriggerSyncReplicaFromNeighbors Begins a synchronization of the specified partition.
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