語言

LdapSessionOptions 類別

定義

這個 LdapSessionOptions 類別用來取得或設定各種 LDAP 會話選項。

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

屬性

名稱 Description
AutoReconnect

該 AutoReconnect 屬性指定是否啟用自動重連。

DomainName

該 DomainName 性質會回傳該連接所綁定的定義域。

HostName

該 HostName 屬性會回傳與連線相關的 LDAP 伺服器名稱。

HostReachable

屬性 HostReachable 指定主機是否可被聯繫。

LocatorFlag

該 LocatorFlag 屬性指定了用於定位網域控制器時所使用的列舉值 LocatorFlags 之一。

PingKeepAliveTimeout

該 PingKeepAliveTimeout 屬性包含一個 TimeSpan 物件,指定客戶端在伺服器最後一次回應後,等待的最少秒數,然後才會發送保持生命 ping 。

PingLimit

屬性 PingLimit 包含用戶端在關閉連線前所發送的未回應 ping 數量。

PingWaitTimeout

該 PingWaitTimeout 屬性包含一個 TimeSpan 物件,指定用戶端在發送 ping 後等待回應所需的毫秒數。

ProtocolVersion

該 ProtocolVersion 特性指定了要使用的 LDAP 協定版本。

QueryClientCertificate

該 QueryClientCertificate 屬性包含一個 QueryClientCertificateCallback 物件,指定建立 SSL 連線時用來指定用戶端憑證的預設回調函式。

ReferralCallback

該 ReferralCallback 屬性包含一個 ReferralCallback 物件,指定追蹤推薦時使用的預設回調函式。

ReferralChasing

該 ReferralChasing 屬性包含一個 ReferralChasingOption 物件,指定 LDAP 函式庫如何跟隨 LDAP 伺服器回傳的引用。

ReferralHopLimit

該 ReferralHopLimit 特性規定了追蹤推薦時允許的跳數。

RootDseCache

此 RootDseCache 特性啟用內部 RootDSE 快取。

SaslMethod

該 SaslMethod 特性指定了首選的簡單認證與安全層(SASL)綁定方法。

Sealing

此 Sealing 特性使 Kerberos 加密得以實現。

SecureSocketLayer

此 SecureSocketLayer 特性使得連線時的安全套接層得以實現。

SecurityContext

該 SecurityContext 屬性指定與目前連線相關的安全情境。

SendTimeout

該 SendTimeout 屬性包含 TimeSpan 一個指定傳送逾時的物件。

Signing

此 Signing 特性使 Kerberos 加密得以實現。

SslInformation

屬性包含 SslInformation 一個 SecurityPackageContextConnectionInformation 物件,該物件包含關於當前安全連線的資料。

SspiFlag

該 SspiFlag 屬性指定要傳遞給安全支援提供者介面(SSPI)InitializeSecurityContext 函式的旗標。 欲了解更多關於 InitializeSecurityContext 函式的資訊,請參閱 InitializeSecurityContext 函式 文章。

TcpKeepAlive

此 TcpKeepAlive 特性使 TCP 保持活著成為可能。

TrustedCertificatesDirectory

取得或設定包含 CA 憑證的目錄路徑,採用 PEM 格式。

VerifyServerCertificate

該 VerifyServerCertificate 屬性包含一個 VerifyServerCertificateCallback 物件,指定在建立 SSL 連線時,用來驗證伺服器憑證的預設回撥方法。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
FastConcurrentBind()

此 FastConcurrentBind() 方法支援快速並行綁定。

GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
StartNewTlsSessionContext()

建立新的 TLS 函式庫上下文。

StartTransportLayerSecurity(DirectoryControlCollection)

此方法啟動 StartTransportLayerSecurity(DirectoryControlCollection) 傳輸層安全加密。

StopTransportLayerSecurity()

此方法終止 StopTransportLayerSecurity() 傳輸層安全加密。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於