Propriedade CommandTimeout
Obtém ou define o tempo de espera antes de encerrar a tentativa de executar um comando ou gerar um erro.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (em System.Data.SqlServerCe.dll)
Sintaxe
'Declaração
Public Overrides Property CommandTimeout As Integer
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System. . :: . .Int32
Sempre zero (0) para o SQL Server Compact 3.5.
Implementa
IDbCommand. . :: . .CommandTimeout