Partager via


ICachingConfigurationCacheManager.UseAsDefaultCache Method

Specifies the current CacheManager as the default cache manager instance.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly:  Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)

Syntax

'Declaration
Function UseAsDefaultCache As ICachingConfigurationCacheManager
ICachingConfigurationCacheManager UseAsDefaultCache()
ICachingConfigurationCacheManager^ UseAsDefaultCache()
function UseAsDefaultCache() : ICachingConfigurationCacheManager

Return Value

Fluent interface that can be used to further configure this CacheManager.

See Also

ICachingConfigurationCacheManager Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace

Microsoft.Practices.EnterpriseLibrary.Caching.CacheManager

Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerData