IDataCubeServiceGenerateDataCube Method (Guid, Guid, IEnumerableString, PersistencePolicy) |
Namespace:
Dundas.BI.Entities.DataCubes
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxDataCube GenerateDataCube(
Guid parentId,
Guid structureId,
IEnumerable<string> dataElements,
PersistencePolicy persistencePolicy
)
Function GenerateDataCube (
parentId As Guid,
structureId As Guid,
dataElements As IEnumerable(Of String),
persistencePolicy As PersistencePolicy
) As DataCube
DataCube^ GenerateDataCube(
Guid parentId,
Guid structureId,
IEnumerable<String^>^ dataElements,
PersistencePolicy persistencePolicy
)
abstract GenerateDataCube :
parentId : Guid *
structureId : Guid *
dataElements : IEnumerable<string> *
persistencePolicy : PersistencePolicy -> DataCube
Parameters
- parentId
- Type: SystemGuid
The ID of the parent file or folder. - structureId
- Type: SystemGuid
The structure ID. - dataElements
- Type: System.Collections.GenericIEnumerableString
The data elements. - persistencePolicy
- Type: Dundas.BI.EntitiesPersistencePolicy
A value indicating whether the entity should be created as persistent or transient.
Return Value
Type:
DataCubeThe newly created
DataCube.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | dataElements is . |
| ArgumentException | structureId references a structure that is not compatible with one of the supported SelectTransform transforms
or
parentId is Empty.
|
| NoPrivilegeException | Caller does not have access to the specified data connector. |
| InvalidSessionException | The caller context is not associated with a valid session. |
| DataProviderLoadException | The data provider may throw this exception if it requires third party driver to be installed. |
| DataConnectionException | The connection cannot be established. |
| NotFoundException | The structure with the specified structureId or parentId does not exist. |
See Also