This property forces the replication of files from the source servers to the destination servers.
Syntax
ReplicationClient.Force [=Force]
Parameters
Force
If True, force the replication of all files. If False, do not force the replication.
Remarks
Normally files are only replicated from the source servers to the destination servers when the files on the source servers are newer than the files on the destination servers. The Force property specifies that the Content Deployment server replicates all files, regardless of the time and date stamp.
You must have Site Server Publishing administrator privileges on the server to get or set this property.
This property is initially set from the project description during a call to ReplicationClient.Initialize.
You can set this property at any time, but the new settings do not take effect until a connect operation, including SendFile in connectionless mode, is performed.
Example
The following example enables the forcing of Project1 replication files.
Option Explicit
On Error Resume Next
dim Client
set Client = CreateObject("CrsApi.ReplicationClient")
Client.Initialize("Project1")
Client.Force = True
'Release Client object
set Client = Nothing
See Also