This document is archived and information here might be outdated.  Recommended version.


IFileDataLock.AcquireFileLock Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFileDataLock Interface > IFileDataLock.AcquireFileLock Method
ArcGIS Developer Help

IFileDataLock.AcquireFileLock Method

Acquire a file data lock.

[Visual Basic .NET]
Public Sub AcquireFileLock ( _
    ByVal LockType As esriLockMgrType _
)
[C#]
public void AcquireFileLock (
    esriLockMgrType LockType
);
[C++]
HRESULT AcquireFileLock(
  esriLockMgrType LockType
);
[C++]
Parameters
LockType [in]

LockType is a parameter of type esriLockMgrType

Product Availability

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

See Also

IFileDataLock Interface