ArcObjects Library Reference (GeoDatabase)  

IReplica.ReplicaRole Property

Determines if the workspace is the replica geodatabase or the master geodatabase for the replica.

[Visual Basic .NET]
Public ReadOnly Property ReplicaRole As esriReplicaType
[C#]
public esriReplicaType ReplicaRole {get;}
[C++]
HRESULT get_ReplicaRole(
  esriReplicaType* rRole
);
[C++]

Parameters

rRole [out, retval]

  rRole is a parameter of type esriReplicaType

Product Availability

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

Remarks

If a geodatabase acts as the master for the Replica, this property returns esriCheckoutTypeParent. If the geodatabase is the check-out geodatabase, esriCheckoutTypeChild is returned. The other enumerations are never returned for valid check-outs.

See Also

IReplica Interface