LdapSessionOptions.AutoReconnect Property


The AutoReconnect property specifies if auto-reconnect is enabled.

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

public bool AutoReconnect { get; set; }

Property Value

Type: System.Boolean

This property is true if auto-reconnect is enabled or false if it is not.

Exception Condition

The LdapConnection object is already disposed.

.NET Framework
Available since 2.0
Return to top