com.esri.arcgis.datasourcesGDB
Interface IDatabaseLocksInfo

All Superinterfaces:
Serializable

public interface IDatabaseLocksInfo
extends Serializable

Methods for getting information about locks in a database.

Remarks

Returns an enumeration of IDatabaseLockInfo objects for the workspace. The user must be a Geodatabase administrator to view all of the locks in a workspace. If the user is not a Geodatabase administrator the interface will return an error FDO_E_NO_PERMISSIONS.

Product Availability

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


Method Summary
 IEnumDatabaseLockInfo getAllLocks()
          All the locks in the database.
 

Method Detail

getAllLocks

IEnumDatabaseLockInfo getAllLocks()
                                  throws IOException,
                                         AutomationException
All the locks in the database.

Product Availability

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

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