共用方式為


ConnectionOptions.DisconnectTimeout 屬性

定義

取得或設定伺服器用來逾時閒置連線的間隔。

public:
 property Nullable<TimeSpan> DisconnectTimeout { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? DisconnectTimeout { get; set; }
member this.DisconnectTimeout : Nullable<TimeSpan> with get, set
Public Property DisconnectTimeout As Nullable(Of TimeSpan)

屬性值

適用於