Editar

Partilhar via


LdapSessionOptions.VerifyServerCertificate Property

Definition

The VerifyServerCertificate property contains a VerifyServerCertificateCallback object that specifies the default callback method to use to verify server certificates when an SSL connection is established.

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

Property Value

A VerifyServerCertificateCallback object that specifies the default callback method to use to verify server certificates when an SSL connection is established.

Exceptions

The LdapConnection object is already disposed.

Applies to