DomainController.GetAllReplicationNeighbors Method

Definition

Retrieves the replication neighbors for this domain controller.

public:
 override System::DirectoryServices::ActiveDirectory::ReplicationNeighborCollection ^ GetAllReplicationNeighbors();
public override System.DirectoryServices.ActiveDirectory.ReplicationNeighborCollection GetAllReplicationNeighbors ();
override this.GetAllReplicationNeighbors : unit -> System.DirectoryServices.ActiveDirectory.ReplicationNeighborCollection
Public Overrides Function GetAllReplicationNeighbors () As ReplicationNeighborCollection

Returns

A ReplicationNeighborCollection object that contains the replication neighbors for this domain controller.

Exceptions

A call to the underlying directory service resulted in an error.

The target server is either busy or unavailable.

The object has been disposed.

The specified account does not have permission to perform this operation.

Applies to

See also