Previous in Contents Next in Contents

Pause Method

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

Continue, Start, Stop


© 1997-2000 Microsoft Corporation. All rights reserved.