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


IVersionedWorkspace.Versions Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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