Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The QueryTimeout property specifies the number of seconds elapsed before a time-out error is reported on an attempted statement execution.
Sintaxis
object
.QueryTimeout [= value]
Parts
- object
An expression that evaluates to an object in the Applies To list
- value
A long integer that specifies the number of seconds
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetQueryTimeout(LPLONG pRetVal);
HRESULT SetQueryTimeout(LONG NewValue);
Notas
To specify that a query cannot time out, use -1 (the default) or 0.