This method pauses the Content Deployment service.
Syntax
ReplicationServer.Pause
Remarks
You must have Site Server Publishing administrator privileges on the server to call this method.
Pausing means that the Content Deployment server rejects any requests to start a new replication. It does not stop any currently running replications.
Example
The following example pauses the server and then restarts it.
Option Explicit
On Error Resume Next
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
ReplServer.Pause
...
ReplServer.Continue
'Release Server object
set ReplServer = Nothing
See Also