語言

Database.CommandTimeout 屬性

定義

取得或設定所有上下文操作的逾時值,單位為秒。 預設值為 null,其中 null 表示將使用底層提供者的預設值。

public Nullable<int> CommandTimeout { get; set; }
member this.CommandTimeout : Nullable<int> with get, set
Public Property CommandTimeout As Nullable(Of Integer)

屬性值

逾時、以秒數計,或是用 Provider 預設值的 null。

適用於