SqlConnectionColumnEncryptionSetting SqlConnectionColumnEncryptionSetting SqlConnectionColumnEncryptionSetting SqlConnectionColumnEncryptionSetting Enum

定义

指定在连接中启用“始终加密”功能。 请注意这些设置不能用于绕过加密以及获取纯文本数据的访问权限。 有关详细信息,请参阅 Always Encrypted(数据库引擎)For details, see Always Encrypted (Database Engine).

public enum class SqlConnectionColumnEncryptionSetting
public enum SqlConnectionColumnEncryptionSetting
type SqlConnectionColumnEncryptionSetting = 
Public Enum SqlConnectionColumnEncryptionSetting
继承
SqlConnectionColumnEncryptionSettingSqlConnectionColumnEncryptionSettingSqlConnectionColumnEncryptionSettingSqlConnectionColumnEncryptionSetting

字段

Disabled Disabled Disabled Disabled 0

指定连接不使用“始终加密”功能。Specifies the connection does not use Always Encrypted. 如果未通过该连接发送访问加密列的查询,则应使用此设置。Should be used if no queries sent over the connection access encrypted columns.

Enabled Enabled Enabled Enabled 1

启用连接的“始终加密”功能。Enables Always Encrypted functionality for the connection. 将以透明方式加密与加密列对应的查询参数和加密列的查询结果。Query parameters that correspond to encrypted columns will be transparently encrypted and query results from encrypted columns will be transparently decrypted.

适用于

另请参阅