Share via


SPCacheConfig.AddCaches method

Creates caches with the specified configuration data.

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub AddCaches ( _
    cacheParams As CacheParameter() _
)
'Usage
Dim instance As SPCacheConfig
Dim cacheParams As CacheParameter()

instance.AddCaches(cacheParams)
public void AddCaches(
    CacheParameter[] cacheParams
)

Parameters

  • cacheParams
    Type: []

    An array of CacheParameter objects that configure the newly created caches.

See also

Reference

SPCacheConfig class

SPCacheConfig members

Microsoft.Office.Server.ObjectCache namespace