TrustServerCertificate Property
Gets or sets a value that indicates whether the channel will be encrypted while bypassing walking the certificate chain to validate trust.
public bool TrustServerCertificate {get; set;}
'Declaration
Public Property TrustServerCertificate As Boolean