Sdílet prostřednictvím


Database.EnumLocks Method

Include Protected Members
Include Inherited Members

Enumerates a list of current locks on the database.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method EnumLocks() Enumerates a list of all current locks held on the database.
Public method EnumLocks(Int32) Enumerates a list of current locks held on the database for a specified system process ID.

Top

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace