ArcObjects Library Reference (System)  

IAppLockMgr.ClearLock Method

Clears a lock from within the lock manager.

[Visual Basic .NET]
Public Sub ClearLock ( _
    ByVal cookie As Integer, _
    ByVal FileName As String, _
    ByVal lockMgrType As esriLockMgrType _
)
[C#]
public void ClearLock (
    int cookie,
    string FileName,
    esriLockMgrType lockMgrType
);
[C++]
HRESULT ClearLock(
  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