PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Caching­Backend­Configuration Class / Redis­Caching­Backend­Configuration Properties / Redis­Caching­Backend­Configuration.​Database Property

RedisCachingBackendConfiguration.Database Property

Gets the index of the database to use. The default value is -1 (automatic selection).

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public int Database { get; set; }

Property Value

Type: Int32
See Also