DirectoryServer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DirectoryServer class is an abstract class that represents an Active Directory Domain Services server or AD LDS instance.
public ref class DirectoryServer abstract : IDisposable
public abstract class DirectoryServer : IDisposable
type DirectoryServer = class
interface IDisposable
Public MustInherit Class DirectoryServer
Implements IDisposable
- Inheritance
-
DirectoryServer
- Derived
- Implements
Constructors
DirectoryServer() |
Initializes a new instance of the DirectoryServer class. |
Properties
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. |
Methods
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 Finalize() method. |
GetAllReplicationNeighbors() |
Retrieves all of the replication neighbors for this object. |
GetDirectoryEntry() |
Retrieves a DirectoryEntry object that represents the directory server. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetReplicationConnectionFailures() |
Retrieves a collection of the replication connection failures for this directory server. |
GetReplicationCursors(String) |
Retrieves the replication cursor information for the specified partition. |
GetReplicationMetadata(String) |
Retrieves the replication metadata for a specific Active Directory Domain Services object. |
GetReplicationNeighbors(String) |
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(String) |
Moves the directory server to another site within the forest or configuration set. |
SyncReplicaFromAllServers(String, SyncFromAllServersOptions) |
Causes this directory server to synchronize the specified partition with all other directory servers in the same site that hosts the partition. |
SyncReplicaFromServer(String, String) |
Causes this directory server to synchronize the specified partition with the specified directory server. |
ToString() |
Retrieves the name of the directory server. |
TriggerSyncReplicaFromNeighbors(String) |
Begins a synchronization of the specified partition. |