LdapSessionOptions.VerifyServerCertificate 属性

定义

VerifyServerCertificate 属性包含 VerifyServerCertificateCallback 对象,该对象指定建立 SSL 连接时用来验证服务器证书的默认回调方法。

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

属性值

一个 VerifyServerCertificateCallback 对象,该对象指定建立 SSL 连接时用来验证服务器证书的默认回调方法。

例外

适用于