Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

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

public:
property TimeSpan ColumnEncryptionKeyCacheTtl {
	static TimeSpan get();
	static void set(TimeSpan value);
}

Property Value

Type: System::TimeSpan

The time interval.

.NET Framework
Available since 4.6.2
Return to top
Show:
© 2017 Microsoft