ArcObjects Library Reference (System)  

IAfLockMgr.ClearLock Method

Clears the specified lock type from the filename.

[Visual Basic .NET]
Public Function ClearLock ( _
    ByVal FileName As String, _
    ByVal lockMgrType As esriLockMgrType _
) As Boolean
[C#]
public bool ClearLock (
    string FileName,
    esriLockMgrType lockMgrType
);
[C++]
HRESULT ClearLock(
  BSTR FileName,
  esriLockMgrType lockMgrType,
  VARIANT_BOOL* succeeded
);
[C++]

Parameters

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

  lockMgrType is a parameter of type esriLockMgrType

succeeded [out, retval]   succeeded is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IAfLockMgr Interface