ArcObjects Library Reference (System)  

IAppLockMgr.CheckLock Method

Checks for a lock within the lock manager.

[Visual Basic .NET]
Public Sub CheckLock ( _
    ByVal cookie As Integer, _
    ByVal FileName As String, _
    ByVal lockMgrType As esriLockMgrType _
)
[C#]
public void CheckLock (
    int cookie,
    string FileName,
    esriLockMgrType lockMgrType
);
[C++]
HRESULT CheckLock(
  long cookie,
  BSTR FileName,
  esriLockMgrType lockMgrType
);
[C++]

Parameters

cookie [in]   cookie is a parameter of type long FileName [in]   FileName is a parameter of type BSTR lockMgrType [in]

  lockMgrType is a parameter of type esriLockMgrType

Product Availability

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

See Also

IAppLockMgr Interface