This documentation is archived and is not being maintained.
LdapSessionOptions Class
Visual Studio 2010
The LdapSessionOptions class is used to get or set various LDAP session options.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
The LdapSessionOptions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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 topic in the MSDN library at . |
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (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 | The StartTransportLayerSecurity 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.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
