SqlConnection.ColumnEncryptionKeyCacheTtl Property


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.

 static property TimeSpan ColumnEncryptionKeyCacheTtl { TimeSpan get(); void set(TimeSpan value); };
public static TimeSpan ColumnEncryptionKeyCacheTtl { get; set; }
member this.ColumnEncryptionKeyCacheTtl : TimeSpan with get, set
Public Shared Property ColumnEncryptionKeyCacheTtl As TimeSpan

Property Value


The time interval.

Applies to