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.