Condividi tramite


Metodo Server.EnumLocks

Include i membri protetti
Include i membri ereditati

Enumerates a list of current locks held on the instance of SQL Server.

Questo membro è sottoposto a overload. Per informazioni complete su questo membro, inclusi sintassi, utilizzo ed esempi, fare clic su un nome nell'elenco di overload.

Elenco degli overload

  Nome Descrizione
Metodo pubblico EnumLocks() Enumerates a list of current locks held on the instance of SQL Server.
Metodo pubblico EnumLocks(Int32) Enumerates a list of current locks held by the specified process on the instance of SQL Server.

In alto

Osservazioni

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.

Vedere anche

Riferimento

Server Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo