QueryTimeout Event
Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The QueryTimeout event occurs when Microsoft SQL Server cannot complete execution of a Transact-SQL command batch within a user-defined period of time.
Sintassi
Private Function
object
_QueryTimeout(
Message as String
)
as
Boolean
Parts
- object
Expression that evaluates to an object in the Applies To list.
- Message
String that contains descriptive message text.
Prototype (C/C++)
HRESULT QueryTimeout(SQLDMO_LPCSTR Message, LPBOOL Continue);
Osservazioni
The QueryTimeout event is reserved for future use.