SqlCeCommand.CommandTimeout 屬性
取得或設定結束嘗試執行命令並產生錯誤之前的等候時間。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Overrides Property CommandTimeout As Integer
Get
Set
'用途
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)
屬性值
型別:System.Int32
SQL Server Compact 一定是零 (0)。