Partilhar via


Propriedade do RDL StatementTimeout

Gets or sets the number of seconds a statement is given to run before failing with a time-out error.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public MustOverride Property StatementTimeout As Integer
    Get
    Set
'Uso
Dim instance As SfcConnection
Dim value As Integer

value = instance.StatementTimeout

instance.StatementTimeout = value
public abstract int StatementTimeout { get; set; }
public:
virtual property int StatementTimeout {
    int get () abstract;
    void set (int value) abstract;
}
abstract StatementTimeout : int with get, set
abstract function get StatementTimeout () : int
abstract function set StatementTimeout (value : int)

Valor da propriedade

Tipo: System. . :: . .Int32
The number of seconds a statement is given to run before failing with a time-out error.