A Sandcastle Documented Class Library

# IDataCubeService GenerateDataInputDataCube Method

Creates and saves a DataCube that contains a single DataInputTransform.

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

    DataCube GenerateDataInputDataCube(
    	Guid parentId,
    	PersistencePolicy persistencePolicy
    )

    Function GenerateDataInputDataCube (
    	parentId As Guid,
    	persistencePolicy As PersistencePolicy
    ) As DataCube

    DataCube^ GenerateDataInputDataCube(
    	Guid parentId,
    	PersistencePolicy persistencePolicy
    )

    abstract GenerateDataInputDataCube :
            parentId : Guid *
            persistencePolicy : PersistencePolicy -> DataCube

#### Parameters

parentId
  Type: System
  Guid
  The ID of the parent file or folder.
persistencePolicy
  Type: Dundas.BI.Entities
  PersistencePolicy
  A value indicating whether the entity should be created as persistent or transient.

#### Return Value

Type: DataCube
The newly created DataCube.
Exceptions

Exception | Condition
--- | ---
ArgumentException | 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.
NotFoundException | The structure with the specified parentId does not exist.

See Also

#### Reference

IDataCubeService Interface
Dundas.BI.Entities.DataCubes Namespace