Edit

Share via


DomainController.SyncReplicaFromServer(String, String) Method

Definition

Causes this domain controller to synchronize the specified partition with the specified domain controller.

public:
 override void SyncReplicaFromServer(System::String ^ partition, System::String ^ sourceServer);
public override void SyncReplicaFromServer (string partition, string sourceServer);
override this.SyncReplicaFromServer : string * string -> unit
Public Overrides Sub SyncReplicaFromServer (partition As String, sourceServer As String)

Parameters

partition
String

The distinguished name of the partition with which to synchronize the domain controller.

sourceServer
String

The name of the server with which to synchronize the partition.

Exceptions

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

The target server is either busy or unavailable.

partition or sourceServer is null.

partition or sourceServer is not valid.

The current object has been disposed.

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

Applies to