SqlServerCacheOptions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration options for SqlServerCache.
public ref class SqlServerCacheOptions : Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::SqlServer::SqlServerCacheOptions ^>
public class SqlServerCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.SqlServer.SqlServerCacheOptions>
type SqlServerCacheOptions = class
interface IOptions<SqlServerCacheOptions>
Public Class SqlServerCacheOptions
Implements IOptions(Of SqlServerCacheOptions)
- Inheritance
-
SqlServerCacheOptions
- Implements
Connection |
The connection string to the database. |
Default |
The default sliding expiration set for a cache entry if neither Absolute or SlidingExpiration has been set explicitly. By default, its 20 minutes. |
Expired |
The periodic interval to scan and delete expired items in the cache. Default is 30 minutes. |
Schema |
The schema name of the table. |
System |
An abstraction to represent the clock of a machine in order to enable unit testing. |
Table |
Name of the table where the cache items are stored. |
IOptions<Sql |
Gets the default configured |
Product | Versions |
---|---|
.NET | 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: