共用方式為


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)