This document is archived and information here might be outdated. Recommended version. |
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**
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.