Właściwość LinkedServer.QueryTimeout
Pobiera lub ustawia czas w sekundach oczekiwania na wykonać zanim przekroczy limit czasu kwerendy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property QueryTimeout As Integer
Get
Set
'Użycie
Dim instance As LinkedServer
Dim value As Integer
value = instance.QueryTimeout
instance.QueryTimeout = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int QueryTimeout { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int QueryTimeout {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member QueryTimeout : int with get, set
function get QueryTimeout () : int
function set QueryTimeout (value : int)
Wartość właściwości
Typ: System.Int32
Int32 Wartość określa czas w sekundach dla kwerend do wykonać przed limit czasu.
Zobacz także