This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IReplica Interface > IReplica.ReplicaRole Property (ArcObjects .NET 10.5 SDK) |
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
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.