LdapSessionOptions Class

 

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

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

System.Object
  System.DirectoryServices.Protocols.LdapSessionOptions

public class LdapSessionOptions

NameDescription
System_CAPS_pubpropertyAutoReconnect

The AutoReconnect property specifies if auto-reconnect is enabled.

System_CAPS_pubpropertyDomainName

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

System_CAPS_pubpropertyHostName

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

System_CAPS_pubpropertyHostReachable

The HostReachable property specifies whether the host is reachable.

System_CAPS_pubpropertyLocatorFlag

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

System_CAPS_pubpropertyPingKeepAliveTimeout

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.

System_CAPS_pubpropertyPingLimit

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

System_CAPS_pubpropertyPingWaitTimeout

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.

System_CAPS_pubpropertyProtocolVersion

The ProtocolVersion property specifies the LDAP protocol version to use.

System_CAPS_pubpropertyQueryClientCertificate

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

System_CAPS_pubpropertyReferralCallback

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

System_CAPS_pubpropertyReferralChasing

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

System_CAPS_pubpropertyReferralHopLimit

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

System_CAPS_pubpropertyRootDseCache

The RootDseCache property enables the internal RootDSE cache.

System_CAPS_pubpropertySaslMethod

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

System_CAPS_pubpropertySealing

The Sealing property enables Kerberos encryption.

System_CAPS_pubpropertySecureSocketLayer

The SecureSocketLayer property enables secure socket layer on connection.

System_CAPS_pubpropertySecurityContext

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

System_CAPS_pubpropertySendTimeout

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

System_CAPS_pubpropertySigning

The Signing property enables Kerberos encryption.

System_CAPS_pubpropertySslInformation

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

System_CAPS_pubpropertySspiFlag

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 topic in the MSDN library at http://msdn.microsoft.com/library.

System_CAPS_pubpropertyTcpKeepAlive

The TcpKeepAlive property enables TCP keep-alive.

System_CAPS_pubpropertyVerifyServerCertificate

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFastConcurrentBind()

The FastConcurrentBind method enables support for fast concurrent binds.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodStartTransportLayerSecurity(DirectoryControlCollection)

The StartTransportLayerSecurity method starts transport layer security encryption.

System_CAPS_pubmethodStopTransportLayerSecurity()

The StopTransportLayerSecurity method ends transport layer security encryption.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: