Pause Method

This method pauses the Content Deployment server.

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 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

Continue, Start, Stop


© 1997-1998 Microsoft Corporation. All rights reserved.