This document is archived and information here might be outdated. Recommended version.
Is table locked
[Visual Basic .NET] Public Function IsLocked ( _ ) As Boolean
[C#] public bool IsLocked ( );
[C++] HRESULT IsLocked( void );