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