LdapSessionOptions.TcpKeepAlive Property

 

The TcpKeepAlive property enables TCP keep-alive.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public bool TcpKeepAlive { get; set; }

Property Value

Type: System.Boolean

This property is true if TCP keep-alive is enabled or false if it is not.

Exception Condition
ObjectDisposedException

The LdapConnection object is already disposed.

.NET Framework
Available since 2.0
Return to top
Show: