Поделиться через


Метод Server.EnumLocks

Показывать защищенные элементы
Показывать наследуемые элементы

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

Этот элемент перегружен. Чтобы получить полные сведения об этом элементе (синтаксисе, использовании и примерах использования), щелкните его имя в списке перегрузок.

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

  Имя Описание
Открытый метод EnumLocks() Enumerates a list of current locks held on the instance of SQL Server.
Открытый метод EnumLocks(Int32) Enumerates a list of current locks held by the specified process on the instance of 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.

См. также

Справочник

Server Класс

Пространство имен Microsoft.SqlServer.Management.Smo