Interface ILockInfo

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that supply lock information.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("751AD693-93B2-11D3-9F62-00C04F6BDDD9")]
public interface ILockInfo

Properties

LockType

The type of lock the user acquired.

esriLockType LockType { get; }

Property Value

esriLockType

Remarks

The LockType method returns the type of lock the current user has on the version. Shared locks are acquired upon start editing and released at stop editing. Shared locks are promoted to Exclusive locks during reconcile or when a version is being reconciled against.

The Exclusive lock prevents multiple reconciliations against any one version simultaneously. This will prevent unnecessary reconciles, in the case where the version is reconciled and the target version is modified. Which then forces a second reconciliation and can waste server/client resources.

UserName

The name of the user that acquired the lock.

string UserName { get; }

Property Value

string

Remarks

The UserName method returns the user name who is currently editing or reconciling the version.