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


ICadastralFabricLocks.LockJob Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ICadastralFabricLocks.LockJob Method

Lock current job. An existing lock will cause failure.

[Visual Basic .NET]
Public Function LockJob ( _
) As Boolean
[C#]
public bool LockJob (
);
[C++]
HRESULT LockJob(
  VARIANT_BOOL* Succeed
);
[C++]

Parameters Succeed [out, retval] Succeed is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

Enters the MachineName and ProcessID values into the Jobs table.

This method is usually the next call after setting the LockingJob. If the method returns FALSE, then the lock is already held by another machine or process id.

See Also

ICadastralFabricLocks Interface