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


IReplica.Version Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IReplica.Version Property

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

Product Availability

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

Remarks

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.

See Also

IReplica Interface