IDataCubeServiceConfigureCubeStorage Method (Guid, StorageType, IEnumerableGuid, Boolean, Boolean, NullableTimeSpan) |
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 (8.0.2.1001)
Syntaxvoid ConfigureCubeStorage(
Guid dataCubeId,
StorageType category,
IEnumerable<Guid> incrementElementIds,
bool excludeFromMemoryManagement,
bool disableDataCache,
Nullable<TimeSpan> cacheExpiration
)
Sub ConfigureCubeStorage (
dataCubeId As Guid,
category As StorageType,
incrementElementIds As IEnumerable(Of Guid),
excludeFromMemoryManagement As Boolean,
disableDataCache As Boolean,
cacheExpiration As Nullable(Of TimeSpan)
)
void ConfigureCubeStorage(
Guid dataCubeId,
StorageType category,
IEnumerable<Guid>^ incrementElementIds,
bool excludeFromMemoryManagement,
bool disableDataCache,
Nullable<TimeSpan> cacheExpiration
)
abstract ConfigureCubeStorage :
dataCubeId : Guid *
category : StorageType *
incrementElementIds : IEnumerable<Guid> *
excludeFromMemoryManagement : bool *
disableDataCache : bool *
cacheExpiration : Nullable<TimeSpan> -> unit
Parameters
- dataCubeId
- Type: SystemGuid
The data cube ID. - category
- Type: Dundas.BI.Entities.DataCubesStorageType
The incremental storage category. - incrementElementIds
- Type: System.Collections.GenericIEnumerableGuid
The IDs of the output elements selected for incremental process control. - excludeFromMemoryManagement
- Type: SystemBoolean
Flag indicating if the in-memory cube should be excluded from memory management or not. - disableDataCache
- Type: SystemBoolean
Flag indicating if data cache should be disabled or not. - cacheExpiration
- Type: SystemNullableTimeSpan
The lifetime duration for the cube data cache.
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. |
| NotSupportedException | The specified control elements are invalid, as only numeric and DateTime data types are supported. |
See Also