SqlConnectionEncryptOption.Strict Property

Definition

Enables and requires TDS 8.0, TLS encryption to the server. If the server doesn't support TDS 8.0, TLS encryption, the connection will fail.

public:
 static property Microsoft::Data::SqlClient::SqlConnectionEncryptOption ^ Strict { Microsoft::Data::SqlClient::SqlConnectionEncryptOption ^ get(); };
public static Microsoft.Data.SqlClient.SqlConnectionEncryptOption Strict { get; }
static member Strict : Microsoft.Data.SqlClient.SqlConnectionEncryptOption
Public Shared ReadOnly Property Strict As SqlConnectionEncryptOption

Property Value

Applies to