SqlConnectionEncryptOption.Mandatory 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.
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