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.

  NameDescription
Protected methodDirectoryServerInitializes a new instance of the DirectoryServer class.
Top

  NameDescription
Public propertyInboundConnectionsRetrieves the inbound replication connections for this directory server.
Public propertyIPAddressRetrieves the IP address of this directory server.
Public propertyNameGets the name of the directory server.
Public propertyOutboundConnectionsGets the outbound replication connections for this directory server.
Public propertyPartitionsGets the partitions on this directory server.
Public propertySiteNameGets the name of the site that this directory server belongs to.
Public propertySyncFromAllServersCallbackGets or sets the synchronization delegate for this directory server.
Top

  NameDescription
Public methodCheckReplicationConsistencyUses the Knowledge Consistency Checker (KCC) to verify and recalculate the replication topology for this server.
Public methodDispose()Releases all managed and unmanaged resources that are used by the object.
Protected methodDispose(Boolean)Releases all unmanaged resources and, optionally, all managed resources that are used by the object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeOverrides the Object.Finalize method. (Overrides Object.Finalize().)
Public methodGetAllReplicationNeighborsRetrieves all of the replication neighbors for this object.
Public methodGetDirectoryEntryRetrieves a DirectoryEntry object that represents the directory server.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetReplicationConnectionFailuresRetrieves a collection of the replication connection failures for this directory server.
Public methodGetReplicationCursorsRetrieves the replication cursor information for the specified partition.
Public methodGetReplicationMetadataRetrieves the replication metadata for a specific Active Directory Domain Services object.
Public methodGetReplicationNeighborsRetrieves the replication neighbors of this directory server for the specified partition.
Public methodGetReplicationOperationInformationRetrieves the current and pending replication operations for this directory server.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMoveToAnotherSiteMoves the directory server to another site within the forest or configuration set.
Public methodSyncReplicaFromAllServersCauses this directory server to synchronize the specified partition with all other directory servers in the same site that hosts the partition.
Public methodSyncReplicaFromServerCauses this directory server to synchronize the specified partition with the specified directory server.
Public methodToStringRetrieves the name of the directory server. (Overrides Object.ToString().)
Public methodTriggerSyncReplicaFromNeighborsBegins a synchronization of the specified partition.
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft