The list of current locks.
[Visual Basic 6.0] Sub GetCurrentSchemaLocks(
schemaLockInfo As IEnumSchemaLockInfo _
)
[Visual Basic .NET] Public Sub GetCurrentSchemaLocks ( _ ByRef schemaLockInfo As IEnumSchemaLockInfo _ )
[C#] public void GetCurrentSchemaLocks ( ref IEnumSchemaLockInfo schemaLockInfo );
[Java] public void getCurrentSchemaLocks ( IEnumSchemaLockInfo schemaLockInfo ) throws IOException, AutomationException
[C++] HRESULT GetCurrentSchemaLocks( IEnumSchemaLockInfo** schemaLockInfo );
Returns an enumeration of the schema locks currently on the dataset. Not that there will always be at least one schema lock on the dataset. By checking the schema locks on a dataset a shared schema lock is applied to the data.