Edit

Share via


SqlConnectionColumnEncryptionSetting Enum

Definition

Specifies that Always Encrypted functionality is enabled in a connection. Note that these settings cannot be used to bypass encryption and gain access to plaintext data. For details, see Always Encrypted (Database Engine).

public enum class SqlConnectionColumnEncryptionSetting
public enum SqlConnectionColumnEncryptionSetting
type SqlConnectionColumnEncryptionSetting = 
Public Enum SqlConnectionColumnEncryptionSetting
Inheritance
SqlConnectionColumnEncryptionSetting

Fields

Name Value Description
Disabled 0

Specifies the connection does not use Always Encrypted. Should be used if no queries sent over the connection access encrypted columns.

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.

Applies to

See also