DomainController.SyncReplicaFromAllServers Method
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.
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.