This method initializes the ReplicationServer object.
Syntax
ReplicationServer.Initialize[(Server)]
Parameters
Server
The server to communicate with. This value can be Empty ("") for the current server.
Remarks
This method must be called before any other methods.
Example
The following example initializes the current server.
Option Explicit
On Error Resume Next
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
...
'Release Server object
set ReplServer = Nothing
See Also