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


IVersionedWorkspace.Versions Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionedWorkspace Interface > IVersionedWorkspace.Versions Property
ArcGIS Developer Help

IVersionedWorkspace.Versions Property

All versions the user owns and those which are public or protected.

[Visual Basic .NET]
Public ReadOnly Property Versions As IEnumVersionInfo
[C#]
public IEnumVersionInfo Versions {get;}
[C++]
HRESULT get_Versions(
  IEnumVersionInfo** infoEnum
);
[C++]
Parameters
infoEnum [out, retval]

infoEnum is a parameter of type IEnumVersionInfo**

Product Availability

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

Remarks

The Versions method will return an enumeration of all versions which the connected user owns and versions owned by other users whose access property is "public".

See Also

IVersionedWorkspace Interface