Server.EnumLocks Method

Enumerates a list of current locks held on the instance of Microsoft SQL Server.

Замечания

Изменения текста

Use this method to determine the locks that are currently held on the instance of SQL Server. The information that is returned can help you identify locking problems that might affect performance.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Список перегрузок

Имя Description
Server.EnumLocks ()
Enumerates a list of current locks held on the instance of Microsoft SQL Server.
Server.EnumLocks (Int32)
Enumerates a list of current locks held by the specified process on the instance of Microsoft SQL Server.

См. также

Справочник

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Управление серверами
sys.syslockinfo (Transact-SQL)