QueryTimeout Event (SQL-DMO)

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

Part Description
object Expression that evaluates to an object in the Applies To list
Message String containing descriptive message text

Remarks

The QueryTimeout event is reserved for future use.

Prototype (C/C++)

HRESULT QueryTimeout(SQLDMO_LPCSTR Message, LPBOOL Continue);

See Also

QueryTimeout Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.