共用方式為


EnumLocks 方法

列舉 SQL Server 執行個體上持有的目前鎖定清單。

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 EnumLocks() () () () 列舉 SQL Server 執行個體上持有的目前鎖定清單。
公用方法 EnumLocks(Int32) 列舉 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.