IDataCubeServiceGenerateDataCube Method (String, Guid, Guid, IEnumerableString, EntityCreationOptions) |
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(
string name,
Guid parentId,
Guid structureId,
IEnumerable<string> dataElements,
EntityCreationOptions options
)
Function GenerateDataCube (
name As String,
parentId As Guid,
structureId As Guid,
dataElements As IEnumerable(Of String),
options As EntityCreationOptions
) As DataCube
DataCube^ GenerateDataCube(
String^ name,
Guid parentId,
Guid structureId,
IEnumerable<String^>^ dataElements,
EntityCreationOptions^ options
)
abstract GenerateDataCube :
name : string *
parentId : Guid *
structureId : Guid *
dataElements : IEnumerable<string> *
options : EntityCreationOptions -> DataCube
Parameters
- name
- Type: SystemString
The name of the data cube. - 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. - options
- Type: Dundas.BI.EntitiesEntityCreationOptions
Options for saving the new entity; or to use the default options.
Return Value
Type:
DataCubeThe newly created
DataCube.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | dataElements is . |
| ArgumentException | name is or Empty an empty string
or
dataElements has no elements
or
parentId is Empty
or
structureId references a structure that is not compatible with one of the supported SelectTransform transforms.
|
| 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. |
| DuplicateItemException | The name for the data cube is not unique. |
| NotFoundException | The structure with the specified structureId or parentId does not exist. |
See Also