LdapSessionOptions LdapSessionOptions LdapSessionOptions LdapSessionOptions Class


The LdapSessionOptions class is used to get or set various LDAP session options.

public ref class LdapSessionOptions
public class LdapSessionOptions
type LdapSessionOptions = class
Public Class LdapSessionOptions


AutoReconnect AutoReconnect AutoReconnect AutoReconnect

The AutoReconnect property specifies if auto-reconnect is enabled.

DomainName DomainName DomainName DomainName

The DomainName property returns the domain to which this connection is bound.

HostName HostName HostName HostName

The HostName property returns the name of the LDAP server associated with the connection.

HostReachable HostReachable HostReachable HostReachable

The HostReachable property specifies whether the host is reachable.

LocatorFlag LocatorFlag LocatorFlag LocatorFlag

The LocatorFlag property specifies one of the values of the LocatorFlags enumeration that are used when locating a domain controller.

PingKeepAliveTimeout PingKeepAliveTimeout PingKeepAliveTimeout PingKeepAliveTimeout

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.

PingLimit PingLimit PingLimit PingLimit

The PingLimit property contains the number of unanswered pings that the client sends before closing a connection.

PingWaitTimeout PingWaitTimeout PingWaitTimeout PingWaitTimeout

The PingWaitTimeout property contains a TimeSpan object that specifies the number of milliseconds that the client waits for the response to come back after sending a ping.

ProtocolVersion ProtocolVersion ProtocolVersion ProtocolVersion

The ProtocolVersion property specifies the LDAP protocol version to use.

QueryClientCertificate QueryClientCertificate QueryClientCertificate QueryClientCertificate

The QueryClientCertificate property contains a QueryClientCertificateCallback object that specifies the default callback function used to specify client certificates when establishing an SSL connection.

ReferralCallback ReferralCallback ReferralCallback ReferralCallback

The ReferralCallback property contains a ReferralCallback object that specifies the default callback function used when chasing referrals.

ReferralChasing ReferralChasing ReferralChasing ReferralChasing

The ReferralChasing property contains a ReferralChasingOption object that specifies how the LDAP library follows referrals returned by LDAP servers.

ReferralHopLimit ReferralHopLimit ReferralHopLimit ReferralHopLimit

The ReferralHopLimit property specifies the number of hops allowed when chasing referrals.

RootDseCache RootDseCache RootDseCache RootDseCache

The RootDseCache property enables the internal RootDSE cache.

SaslMethod SaslMethod SaslMethod SaslMethod

The SaslMethod property specifies the preferred Simple Authentication and Security Layer (SASL) binding method.

Sealing Sealing Sealing Sealing

The Sealing property enables Kerberos encryption.

SecureSocketLayer SecureSocketLayer SecureSocketLayer SecureSocketLayer

The SecureSocketLayer property enables secure socket layer on connection.

SecurityContext SecurityContext SecurityContext SecurityContext

The SecurityContext property specifies the security context associated with the current connection.

SendTimeout SendTimeout SendTimeout SendTimeout

The SendTimeout property contains a TimeSpan object that specifies the send time-out.

Signing Signing Signing Signing

The Signing property enables Kerberos encryption.

SslInformation SslInformation SslInformation SslInformation

The SslInformation property contains a SecurityPackageContextConnectionInformation object that contains data about the current secure connection.

SspiFlag SspiFlag SspiFlag SspiFlag

The SspiFlag property specifies the flags to pass to the Security Support Provider Interface (SSPI) InitializeSecurityContext function. For more information about the InitializeSecurityContext function, see the InitializeSecurityContext function article.

TcpKeepAlive TcpKeepAlive TcpKeepAlive TcpKeepAlive

The TcpKeepAlive property enables TCP keep-alive.

VerifyServerCertificate VerifyServerCertificate VerifyServerCertificate VerifyServerCertificate

The VerifyServerCertificate property contains a VerifyServerCertificateCallback object that specifies the default callback method to use to verify server certificates when an SSL connection is established.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FastConcurrentBind() FastConcurrentBind() FastConcurrentBind() FastConcurrentBind()

The FastConcurrentBind() method enables support for fast concurrent binds.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
StartTransportLayerSecurity(DirectoryControlCollection) StartTransportLayerSecurity(DirectoryControlCollection) StartTransportLayerSecurity(DirectoryControlCollection) StartTransportLayerSecurity(DirectoryControlCollection)

The StartTransportLayerSecurity(DirectoryControlCollection) method starts transport layer security encryption.

StopTransportLayerSecurity() StopTransportLayerSecurity() StopTransportLayerSecurity() StopTransportLayerSecurity()

The StopTransportLayerSecurity() method ends transport layer security encryption.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to