This method will add a specified LDAP virtual server instance to the list of replication targets.
IDL Definition
HRESULT AddReplica(
[in] long lServerId,
[in] BSTR szServerName,
[in] BSTR szRpcGuid
);
Parameters
lServerId
the target LDAP virtual server instance identifier
szServerName
the host the LDAP virtual server instance is running on
szRpcGuid
the RPC UUID for the targetted instance
Return Values
a standard HRESULT value
Remarks
The RPC UUID should be generated using the ConfigLocalReplica method.