A Sandcastle Documented Class Library

# IDataCubeService AddTransform Method

Adds a new transform to the process definition and saves the data cube. No connection are made for this type of operation.

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

    Transform AddTransform(
    	DataCube dataCube,
    	Guid transformId
    )

    Function AddTransform (
    	dataCube As DataCube,
    	transformId As Guid
    ) As Transform

    Transform^ AddTransform(
    	DataCube^ dataCube,
    	Guid transformId
    )

    abstract AddTransform :
            dataCube : DataCube *
            transformId : Guid -> Transform

#### Parameters

dataCube
  Type: Dundas.BI.Entities.DataCubes
  DataCube
  The data cube.
transformId
  Type: System
  Guid
  The transform component ID.

#### Return Value

Type: Transform
The transform.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | dataCube is .
ArgumentException | transformId value is Empty or transformId references a SelectTransform, which cannot be instantiated using the current method.
NotFoundException | transformId references a Transform which does not exist.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IDataCubeService Interface
Dundas.BI.Entities.DataCubes Namespace