ForceReplication method of the DfsrConnectionInfo class
Controls replication by either forcing or suspending replication. DFSR will revert to the normal schedule at the end of the specified duration.
Syntax
uint32 ForceReplication( [in] uint32 Mode, [in] uint32 DurationInMin, [in] uint32 Bandwidth );
Parameters
- Mode [in]
-
The replication mode. This parameter can be one of the following values.
- DurationInMin [in]
-
The duration, in minutes. This value cannot exceed one week (10,800 minutes).
- Bandwidth [in]
-
The valid bandwidth level. This parameter can be one of the following values.
Return value
This method returns one of the MONITOR_STATUS return codes or one of the system error codes.
Remarks
This method is meaningful only for inbound connections. It always fails with an error on outbound connections.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
|
End of client support | Windows Vista |
|
Namespace |
\\.\Root\MicrosoftDfs |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012