共用方式為


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)

屬性值

使用提供者預設值的逾時、以秒為單位或 Null。

適用於