SqlConnection.ColumnEncryptionKeyCacheTtl Property

Definition

Gets or sets the time-to-live for column encryption key entries in the column encryption key cache for the Always Encrypted feature. The default value is 2 hours. 0 means no caching at all.

C#
public static TimeSpan ColumnEncryptionKeyCacheTtl { get; set; }

Property Value

The time interval.

Applies to

Product Versions
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1