Compartilhar via


QueryTimeout Event

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

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

Sintaxe

Private Functionobject_QueryTimeout(Message as String)asBoolean

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);

Comentários

The QueryTimeout event is reserved for future use.

Applies To:

Consulte também

Referência