SqlConnectionColumnEncryptionSetting Enumeration

.NET Framework (current version)
 

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).

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public enum class SqlConnectionColumnEncryptionSetting

Member nameDescription
Disabled

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

Enabled

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.

.NET Framework
Available since 4.6
Return to top
Show: