A Sandcastle Documented Class Library

# IDataCubeService ConfigureCubeStorage Method (Guid, StorageType, IEnumerable Guid , Boolean, Boolean, Nullable TimeSpan , EntitySaveOptions)

Configures the storage, memory and caching options for the specified data cube.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void ConfigureCubeStorage(
    	Guid dataCubeId,
    	StorageType category,
    	IEnumerable<Guid> incrementElementIds,
    	bool excludeFromMemoryManagement,
    	bool disableDataCache,
    	TimeSpan? cacheExpiration,
    	EntitySaveOptions entitySaveOptions
    )

    Sub ConfigureCubeStorage (
    	dataCubeId As Guid,
    	category As StorageType,
    	incrementElementIds As IEnumerable(Of Guid),
    	excludeFromMemoryManagement As Boolean,
    	disableDataCache As Boolean,
    	cacheExpiration As TimeSpan?,
    	entitySaveOptions As EntitySaveOptions
    )

    void ConfigureCubeStorage(
    	Guid dataCubeId,
    	StorageType category,
    	IEnumerable<Guid>^ incrementElementIds,
    	bool excludeFromMemoryManagement,
    	bool disableDataCache,
    	Nullable<TimeSpan> cacheExpiration,
    	EntitySaveOptions^ entitySaveOptions
    )

    abstract ConfigureCubeStorage :
            dataCubeId : Guid *
            category : StorageType *
            incrementElementIds : IEnumerable<Guid> *
            excludeFromMemoryManagement : bool *
            disableDataCache : bool *
            cacheExpiration : Nullable<TimeSpan> *
            entitySaveOptions : EntitySaveOptions -> unit

#### Parameters

dataCubeId
  Type: System
  Guid
  The data cube ID.
category
  Type: Dundas.BI.Entities.DataCubes
  StorageType
  The incremental storage category.
incrementElementIds
  Type: System.Collections.Generic
  IEnumerable
  Guid
  The IDs of the output elements selected for incremental process control.
excludeFromMemoryManagement
  Type: System
  Boolean
  Flag indicating if the in-memory cube should be excluded from memory management or not.
disableDataCache
  Type: System
  Boolean
  Flag indicating if data cache should be disabled or not.
cacheExpiration
  Type: System
  Nullable
  TimeSpan
  The lifetime duration for the cube data cache.
entitySaveOptions
  Type: Dundas.BI.Entities
  EntitySaveOptions
  The entity save options.

Exceptions

Exception | Condition
--- | ---
ArgumentException | dataCubeId is Empty.
NotFoundException | The specified data cube could not be found.
NoPrivilegeException | The caller does not have Read access to the specified data cube.
InvalidSessionException | The caller context is not associated with a valid session.
ArgumentException | incrementElementIds is or empty.
NotSupportedException | The specified control elements are invalid, as only numeric and DateTime data types are supported.

See Also

#### Reference

IDataCubeService Interface
ConfigureCubeStorage Overload
Dundas.BI.Entities.DataCubes Namespace