Редагувати

Поділитися через


DomainController.SyncReplicaFromAllServers Method

Definition

Causes this domain controller to synchronize the specified partition with all other domain controllers.

public:
 override void SyncReplicaFromAllServers(System::String ^ partition, System::DirectoryServices::ActiveDirectory::SyncFromAllServersOptions options);
public override void SyncReplicaFromAllServers (string partition, System.DirectoryServices.ActiveDirectory.SyncFromAllServersOptions options);
override this.SyncReplicaFromAllServers : string * System.DirectoryServices.ActiveDirectory.SyncFromAllServersOptions -> unit
Public Overrides Sub SyncReplicaFromAllServers (partition As String, options As SyncFromAllServersOptions)

Parameters

partition
String

The distinguished name of the partition for the domain controller to synchronize.

options
SyncFromAllServersOptions

A combination of one or more of the SyncFromAllServersOptions members.

Exceptions

partition is null.

partition is not valid.

The current object has been disposed.

An error occurred in the synchronization operation.

Remarks

By default, the replication will only occur with the other domain controllers in the same site. If the options parameter contains the CrossSite value, then the replication will occur with all domain controllers in the forest.

Applies to

See also