This document is archived and information here might be outdated.  Recommended version.


IWorkspaceReplicas.ReplicaByGuid Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceReplicas.ReplicaByGuid Property

The replica or reference to a replica with the specified ID.

[Visual Basic .NET]
Public Function get_ReplicaByGuid ( _
    ByVal ReplicaGuid As String _
) As IReplica
[C#]
public IReplica get_ReplicaByGuid (
    string ReplicaGuid
);
[C++]
HRESULT get_ReplicaByGuid(
  BSTR ReplicaGuid,
  IReplica** Replica
);
[C++]

Parameters ReplicaGuid [in] ReplicaGuid is a parameter of type BSTR Replica [out, retval]
Replica is a parameter of type IReplica

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The ReplicaGuid is a GUID assigned to the check-out in the Workspace. The IReplica::ReplicaGUID property can be used to get the ReplicaID. This property can be used as an alternative to ReplicaByName and ReplicaID properties to get a Replica object.

See Also

IWorkspaceReplicas Interface