EnumLocks Method

Database.EnumLocks Method

 

Enumerates a list of current locks on the database.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodEnumLocks()

Enumerates a list of all current locks held on the database.

System_CAPS_pubmethodEnumLocks(Int32)

Enumerates a list of current locks held on the database for a specified system process ID.

Return to top
Show:
© 2016 Microsoft