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.Version Property (ArcObjects .NET 10.5 SDK) |
The name of the replica version.
[Visual Basic .NET] Public ReadOnly Property Version As String
[C#] public string Version {get;}
[C++]
HRESULT get_Version(
BSTR* ReplicaVersion
);
[C++]
Parameters ReplicaVersion [out, retval] ReplicaVersion is a parameter of type BSTR
For check-out replicas, the name of the version is the same as the name of the checkout; see IReplica::Name. If the check-out database is a personal geodatabase or a File geodatabase, this property is set to the version name on the master geodatabase (parent database).
For two way or one way replicas, this property is set to the version on the replica geodatabase. The child replica will always return the Default version. The parent replica will return the version the replica was created from.