共用方式為


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

屬性值

適用於