DirectoryServer DirectoryServer DirectoryServer DirectoryServer Class

Definition

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
DirectoryServerDirectoryServerDirectoryServerDirectoryServer
Derived
Implements

Constructors

DirectoryServer() DirectoryServer() DirectoryServer() DirectoryServer()

Initializes a new instance of the DirectoryServer class.

Properties

InboundConnections InboundConnections InboundConnections InboundConnections

Retrieves the inbound replication connections for this directory server.

IPAddress IPAddress IPAddress IPAddress

Retrieves the IP address of this directory server.

Name Name Name Name

Gets the name of the directory server.

OutboundConnections OutboundConnections OutboundConnections OutboundConnections

Gets the outbound replication connections for this directory server.

Partitions Partitions Partitions Partitions

Gets the partitions on this directory server.

SiteName SiteName SiteName SiteName

Gets the name of the site that this directory server belongs to.

SyncFromAllServersCallback SyncFromAllServersCallback SyncFromAllServersCallback SyncFromAllServersCallback

Gets or sets the synchronization delegate for this directory server.

Methods

CheckReplicationConsistency() CheckReplicationConsistency() CheckReplicationConsistency() CheckReplicationConsistency()

Uses the Knowledge Consistency Checker (KCC) to verify and recalculate the replication topology for this server.

Dispose() Dispose() Dispose() Dispose()

Releases all managed and unmanaged resources that are used by the object.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases all unmanaged resources and, optionally, all managed resources that are used by the object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Overrides the Finalize() method.

GetAllReplicationNeighbors() GetAllReplicationNeighbors() GetAllReplicationNeighbors() GetAllReplicationNeighbors()

Retrieves all of the replication neighbors for this object.

GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry()

Retrieves a DirectoryEntry object that represents the directory server.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReplicationConnectionFailures() GetReplicationConnectionFailures() GetReplicationConnectionFailures() GetReplicationConnectionFailures()

Retrieves a collection of the replication connection failures for this directory server.

GetReplicationCursors(String) GetReplicationCursors(String) GetReplicationCursors(String) GetReplicationCursors(String)

Retrieves the replication cursor information for the specified partition.

GetReplicationMetadata(String) GetReplicationMetadata(String) GetReplicationMetadata(String) GetReplicationMetadata(String)

Retrieves the replication metadata for a specific Active Directory Domain Services object.

GetReplicationNeighbors(String) GetReplicationNeighbors(String) GetReplicationNeighbors(String) GetReplicationNeighbors(String)

Retrieves the replication neighbors of this directory server for the specified partition.

GetReplicationOperationInformation() GetReplicationOperationInformation() GetReplicationOperationInformation() GetReplicationOperationInformation()

Retrieves the current and pending replication operations for this directory server.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveToAnotherSite(String) MoveToAnotherSite(String) MoveToAnotherSite(String) MoveToAnotherSite(String)

Moves the directory server to another site within the forest or configuration set.

SyncReplicaFromAllServers(String, SyncFromAllServersOptions) SyncReplicaFromAllServers(String, SyncFromAllServersOptions) SyncReplicaFromAllServers(String, SyncFromAllServersOptions) 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) SyncReplicaFromServer(String, String) SyncReplicaFromServer(String, String) SyncReplicaFromServer(String, String)

Causes this directory server to synchronize the specified partition with the specified directory server.

ToString() ToString() ToString() ToString()

Retrieves the name of the directory server.

TriggerSyncReplicaFromNeighbors(String) TriggerSyncReplicaFromNeighbors(String) TriggerSyncReplicaFromNeighbors(String) TriggerSyncReplicaFromNeighbors(String)

Begins a synchronization of the specified partition.

Security

DirectoryServicesPermission
Demand value: LinkDemand

Applies to