SqlConnectionEncryptOption.Mandatory Property

Definition

Specifies that TLS encryption is required when connecting to the server. If the server doesn't support encryption, the connection will fail.

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

Property Value

Applies to