SQL-DMO
QueryTimeout Event
The QueryTimeout event occurs when Microsoft® SQL Server™ cannot complete execution of a Transact-SQL command batch within a user-defined period of time.
Applies To
SQLServer Object |
Syntax
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);
Remarks
The QueryTimeout event is reserved for future use.