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


IFileDataLock.AcquireFileLock Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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