Export (0) Print
Expand All

Server.EnumLocks Method

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

Updated text:

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Name 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.

Release

History

New content:
  • Added code sample to the Example section.

  • Added to the description in the Remarks section.

Community Additions

ADD
Show:
© 2014 Microsoft