Share via


SqlStoreConnection.StatementTimeout Property

Gets or sets the number of seconds a statement is given to run before failing with a time-out error. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Public Overrides Property StatementTimeout As Integer 
    Get 
    Set
'Usage
Dim instance As SqlStoreConnection 
Dim value As Integer 

value = instance.StatementTimeout

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

Property Value

Type: System.Int32
An Int32 value that specifies the number of seconds a statement is given to run before failing with a time-out error.

See Also

Reference

SqlStoreConnection Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace