LdapSessionOptions 類別

定義

LdapSessionOptions 類別可用於取得或設定各種 LDAP 工作階段選項。

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

屬性

AutoReconnect

AutoReconnect 屬性會指定是否啟用自動重新連接。

DomainName

DomainName 屬性會傳回這個連接所繫結的網域。

HostName

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

HostReachable

HostReachable 屬性會指定主機是否可連線。

LocatorFlag

LocatorFlag 屬性會指定 LocatorFlags 列舉的其中一個值,該值會在尋找網域控制站時使用。

PingKeepAliveTimeout

PingKeepAliveTimeout 屬性包含 TimeSpan 物件,該物件會指定在伺服器發出最後一次回應之後,在傳送 Keep-Alive 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 Keep-Alive。

VerifyServerCertificate

VerifyServerCertificate 屬性包含 VerifyServerCertificateCallback 物件,該物件會指定建立 SSL 連接後,用來驗證伺服器憑證的預設回呼方法。

方法

Equals(Object)

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

(繼承來源 Object)
FastConcurrentBind()

FastConcurrentBind() 方法會啟用快速並行繫結支援。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
StartTransportLayerSecurity(DirectoryControlCollection)

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

StopTransportLayerSecurity()

StopTransportLayerSecurity() 方法會結束傳輸層安全性加密。

ToString()

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

(繼承來源 Object)

適用於