ArcObjects Library Reference (System)  

IAppLockMgr Interface

Provides access to members that control the application lock manager.

Product Availability

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

Members

Description
Method Add Adds an application reference to the lock manager.
Method CheckLock Checks for a lock within the lock manager.
Method ClearLock Clears a lock from within the lock manager.
Read-only property Count The current count of locks within the lock manager.
Method IsGlobalAlive Indicates if the global lock manager is active.
Method Remove Removes a lock reference from the lock manager.
Method SetLock Places a lock within the lock manager.

CoClasses that implement IAppLockMgr

CoClasses and Classes Description
AppLockMgr ESRI application lock manager.

Remarks

The AppLockMgr coclass is used to control locks on shapefiles and coverages, so no two users can make changes to the same dataset. It is pretty much the same idea as with relational databases lock to prevent multiple users from making conflicting modifications to a set of data. Lock types are specified by esriLockMgrType enumerator.