SqlConnectionEncryptOption.Strict 属性

定义

启用并要求对服务器进行 TDS 8.0 TLS 加密。 如果服务器不支持 TDS 8.0 TLS 加密,则连接将失败。

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

属性值

适用于