Previous in Contents Next in Contents

Initialize Method

This method initializes the client and sets project properties.

Syntax

ReplicationClient.Initialize(Project)

Parameters

Project

The Content Deployment project to use for this replication client.

Remarks

You must have Site Server Publishing administrator privileges on the server to call this method.

This method must be the first method called on the replication client, unless the object is created through the ReplicationProject object, in which case this method does not need to be called.

Example

The following initializes the existing Project1.

Option Explicit 
On Error Resume Next

dim Client
Set Client = CreateObject("CrsApi.ReplicationClient")
Client.Initialize("Project1")

'Release Client object
set Client = Nothing

See Also

ReplicationProject.Start, ReplicationServer.OpenProject


© 1997-2000 Microsoft Corporation. All rights reserved.