This method returns the LDAP virtual server instance identifier for the local replica.
HRESULT QueryLocalReplica(
 [out]   VARIANT* lServerId
);
Parameters
lServerId
the LDAP virtual server instance identifier
Return Values
a standard HRESULT value