This document is archived and information here might be outdated. Recommended version. |
The list of current locks.
[Visual Basic .NET] Public Sub GetCurrentSchemaLocks ( _ ByRef schemaLockInfo As IEnumSchemaLockInfo _ )
[C#] public void GetCurrentSchemaLocks ( ref IEnumSchemaLockInfo schemaLockInfo );
[C++]
HRESULT GetCurrentSchemaLocks(
IEnumSchemaLockInfo** schemaLockInfo
);
[C++] Parameters schemaLockInfo [out]
schemaLockInfo is a parameter of type IEnumSchemaLockInfo**
The ISchemaLockInfo interface is used in concert with ISchemaLock to provide information about a schema lock, for example, whether it is shared or exclusive and for ArcSDE geodatabases, the name of the user who has the lock. Note that there will always be at least one schema lock on the dataset. Also note that by checking the schema locks on a dataset a shared schema lock is applied to the data.