共用方式為


LdapSessionOptions.TcpKeepAlive 屬性

定義

TcpKeepAlive 屬性會啟用 TCP Keep-Alive。

public:
 property bool TcpKeepAlive { bool get(); void set(bool value); };
public bool TcpKeepAlive { get; set; }
member this.TcpKeepAlive : bool with get, set
Public Property TcpKeepAlive As Boolean

屬性值

如果啟用 TCP Keep-Alive,則這個屬性為 true,否則為 false

例外狀況

LdapConnection 物件已經過處置。

適用於