共用方式為


LdapSessionOptions.QueryClientCertificate 屬性

定義

QueryClientCertificate 屬性包含 QueryClientCertificateCallback 物件,該物件會指定建立 SSL 連接時,用來指定用戶端憑證的預設回呼函式。

public:
 property System::DirectoryServices::Protocols::QueryClientCertificateCallback ^ QueryClientCertificate { System::DirectoryServices::Protocols::QueryClientCertificateCallback ^ get(); void set(System::DirectoryServices::Protocols::QueryClientCertificateCallback ^ value); };
public System.DirectoryServices.Protocols.QueryClientCertificateCallback QueryClientCertificate { get; set; }
member this.QueryClientCertificate : System.DirectoryServices.Protocols.QueryClientCertificateCallback with get, set
Public Property QueryClientCertificate As QueryClientCertificateCallback

屬性值

QueryClientCertificateCallback 物件,指定建立 SSL 連接時,用來指定用戶端憑證的預設回呼函式。

例外狀況

LdapConnection 物件已經過處置。

備註

ClientCertificates如果同時設定物件上的 LdapConnection 屬性,則會忽略 屬性中指定的ClientCertificates憑證。

適用於