com.esri.arcgis.geodatabase
Interface IEnumVersionInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
EnumVersionInfo, IEnumVersionInfoProxy

public interface IEnumVersionInfo
extends Serializable

Provides access to members that enumerate version information.

Description

Objects of this type are created through the IVersionedWorkspace.Versions property. The enumeration contains a set of IVersionInfo objects that specify the characteristics of the versions contained in the database.

Use the IEnumVersionInfo interface when you need to access the read-only properties (such as access setting, children and parents) of the version.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IVersionInfo next()
          Retrieves the next version info.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

next

IVersionInfo next()
                  throws IOException,
                         AutomationException
Retrieves the next version info.

Remarks

The Next method returns the next version's properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IVersionInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Remarks

The Reset method resets the enumeration sequence to the beginning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.