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


ICadastralFabricLocks2.AcquireLocks Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ICadastralFabricLocks2.AcquireLocks Method

Acquire locks on the LockingJob. TakeSoftLocks allows locks to be transferred from other jobs in the same version.

[Visual Basic .NET]
Public Sub AcquireLocks ( _
    ByVal pLocks As ILongArray, _
    ByVal TakeSoftLocks As Boolean, _
    ByVal pLocksInConflict As ILongArray, _
    ByVal pSoftLocksInConflict As ILongArray _
)
[C#]
public void AcquireLocks (
    ILongArray pLocks,
    bool TakeSoftLocks,
    ILongArray pLocksInConflict,
    ILongArray pSoftLocksInConflict
);
[C++]
HRESULT AcquireLocks(
  ILongArray* pLocks,
  VARIANT_BOOL TakeSoftLocks,
  ILongArray* pLocksInConflict,
  ILongArray* pSoftLocksInConflict
);
[C++]

Parameters pLocks [in]
pLocks is a parameter of type ILongArray* TakeSoftLocks [in]
TakeSoftLocks is a parameter of type bool pLocksInConflict [in]
pLocksInConflict is a parameter of type ILongArray* pSoftLocksInConflict [in]
pSoftLocksInConflict is a parameter of type ILongArray*

Product Availability

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

See Also

ICadastralFabricLocks2 Interface