共用方式為


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.