編輯

共用方式為


LdapSessionOptions.PingKeepAliveTimeout Property

Definition

The PingKeepAliveTimeout property contains a TimeSpan object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.

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

Property Value

A TimeSpan object that specifies the minimum number of seconds the client waits, after the last response from the server, before sending a keep-alive ping.

Exceptions

The LdapConnection object is already disposed.

The specified time span is less than Zero.

Applies to