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 对象。

例外

请求失败。

发生了 LDAP 错误。

适用于