Breyta

Deila með


LdapSessionOptions Class

Definition

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
Inheritance
LdapSessionOptions

Properties

AutoReconnect

The AutoReconnect property specifies if auto-reconnect is enabled.

DomainName

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

HostName

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

HostReachable

The HostReachable property specifies whether the host is reachable.

LocatorFlag

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

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

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

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

The ProtocolVersion property specifies the LDAP protocol version to use.

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

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

ReferralChasing

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

ReferralHopLimit

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

RootDseCache

The RootDseCache property enables the internal RootDSE cache.

SaslMethod

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

Sealing

The Sealing property enables Kerberos encryption.

SecureSocketLayer

The SecureSocketLayer property enables secure socket layer on connection.

SecurityContext

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

SendTimeout

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

Signing

The Signing property enables Kerberos encryption.

SslInformation

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

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

The TcpKeepAlive property enables TCP keep-alive.

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.

Methods

Equals(Object)

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

(Inherited from Object)
FastConcurrentBind()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
StartTransportLayerSecurity(DirectoryControlCollection)

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

StopTransportLayerSecurity()

The StopTransportLayerSecurity() method ends transport layer security encryption.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to