SqlColumnEncryptionAzureKeyVaultProvider.ColumnEncryptionKeyCacheTtl 属性

定义

获取或设置缓存中解密的列加密密钥的生存期。 时间跨度过后,解密的列加密密钥将被丢弃,必须重新验证。

public:
 virtual property Nullable<TimeSpan> ColumnEncryptionKeyCacheTtl { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public override TimeSpan? ColumnEncryptionKeyCacheTtl { get; set; }
member this.ColumnEncryptionKeyCacheTtl : Nullable<TimeSpan> with get, set
Public Overrides Property ColumnEncryptionKeyCacheTtl As Nullable(Of TimeSpan)

属性值

注解

在内部,) 解密列加密密钥后 (缓存。 这对于快速解密多个数据值很有用。 默认值为 2 小时。 ColumnEncryptionKeyCacheTtl将 设置为零会禁用缓存。

适用于