Szerkesztés

Megosztás a következőn keresztül:


LdapSessionOptions.StartTransportLayerSecurity Method

Definition

The StartTransportLayerSecurity(DirectoryControlCollection) method starts transport layer security encryption.

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)

Parameters

controls
DirectoryControlCollection

A DirectoryControlCollection object that contains the controls to use.

Exceptions

The LdapConnection object is already disposed.

The request failed.

An LDAP error occurred.

Applies to