com.esri.arcgis.geodatabase
Interface IEnumLockInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumLockInfoProxy

public interface IEnumLockInfo
extends Serializable

Provides access to members that enumerate lock information.

Description

Objects of this type are created through the IVersion.VersionLocks property. The enumeration contains a set of ILockInfo objects that returns the user name and lock type held on the current version.

Use the IEnumLockInfo 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
 ILockInfo next()
          Retrieves the next lock.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

next

ILockInfo next()
               throws IOException,
                      AutomationException
Retrieves the next lock.

Remarks

The Next method returns the next ILockInfo object.

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