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)

属性值

适用于