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".