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


IVersion.VersionLocks Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IVersion.VersionLocks Property

This version's locks.

[Visual Basic .NET]
Public ReadOnly Property VersionLocks As IEnumLockInfo
[C#]
public IEnumLockInfo VersionLocks {get;}
[C++]
HRESULT get_VersionLocks(
  IEnumLockInfo** locks
);
[C++]

Parameters locks [out, retval]
locks is a parameter of type IEnumLockInfo

Product Availability

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

Remarks

The VersionLocks method returns the enumeration IEnumLockInfo. Using the enumeration you can detect what users are currently editing the version or currently reconciling the version. This information can be used to determine if the version is available for editing, to be reconciled or to be reconciled against.

See ILockInfo and esriLockType constants for additional information regarding locking descriptions.

See Also

IVersion Interface