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


ICadastralFabricLocks.LockJob Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IC > ICadastralFabricLocks Interface > ICadastralFabricLocks.LockJob Method
ArcGIS Developer Help

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(
void
);

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