LdapSessionOptions.VerifyServerCertificate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.