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