共用方式為


LdapSessionOptions.StartTransportLayerSecurity 方法

定義

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

public:
 void StartTransportLayerSecurity(System::DirectoryServices::Protocols::DirectoryControlCollection ^ controls);
public void StartTransportLayerSecurity (System.DirectoryServices.Protocols.DirectoryControlCollection controls);
member this.StartTransportLayerSecurity : System.DirectoryServices.Protocols.DirectoryControlCollection -> unit
Public Sub StartTransportLayerSecurity (controls As DirectoryControlCollection)

參數

controls
DirectoryControlCollection

包含要使用之控制項的 DirectoryControlCollection 物件。

例外狀況

LdapConnection 物件已經過處置。

要求失敗。

發生 LDAP 錯誤。

適用於