SqlConnection.ColumnEncryptionKeyCacheTtl 屬性

定義

針對 Always Encrypted 功能,取得或設定資料行加密金鑰快取中資料行加密金鑰項目的存留時間。Gets or sets the time-to-live for column encryption key entries in the column encryption key cache for the Always Encrypted feature. 預設值是 2 小時。The default value is 2 hours. 0 表示完全沒有快取。0 means no caching at all.

public:
 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

屬性值

TimeSpan

時間間隔。The time interval.

適用於