共用方式為


LdapSessionOptions.SecureSocketLayer 屬性

定義

SecureSocketLayer 屬性會對連接啟用安全性通訊端層。

public:
 property bool SecureSocketLayer { bool get(); void set(bool value); };
public bool SecureSocketLayer { get; set; }
member this.SecureSocketLayer : bool with get, set
Public Property SecureSocketLayer As Boolean

屬性值

如果啟用安全性通訊端層,則這個屬性為 true,否則為 false

例外狀況

LdapConnection 物件已經過處置。

適用於