QueryTimeout propriété

Gets or sets the number of seconds before a query times out.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Property QueryTimeout As Integer
    Get
    Set
'Utilisation
Dim instance As SqlOlapConnectionInfoBase
Dim value As Integer

value = instance.QueryTimeout

instance.QueryTimeout = value
public int QueryTimeout { get; set; }
public:
property int QueryTimeout {
    int get ();
    void set (int value);
}
member QueryTimeout : int with get, set
function get QueryTimeout () : int
function set QueryTimeout (value : int)

Valeur de la propriété

Type : System. . :: . .Int32
A Int32 value that specifies the query timeout period.