QueryTimeout Event

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The QueryTimeout event occurs when Microsoft SQL Server cannot complete execution of a Transact-SQL command batch within a user-defined period of time.

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.

Applies To:

See Also

Reference