Share via


CommandTimeout Property

Gets or sets the wait time before terminating the attempt to execute a command and generating an error.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Property CommandTimeout As Integer
    Get
    Set
'Usage
Dim instance As SqlCeCommand
Dim value As Integer

value = instance.CommandTimeout

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

Property Value

Type: System. . :: . .Int32
Always zero (0) for .

Implements

IDbCommand. . :: . .CommandTimeout

See Also

Reference

SqlCeCommand Class

SqlCeCommand Members

System.Data.SqlServerCe Namespace