IDataCubeServiceReplaceStructure(DataCube, Guid, NativeStructure, IDictionaryString, String) Method |
Replaces the structure in given Select Transform with new native structure.
Namespace: Dundas.BI.Entities.DataCubesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxvoid ReplaceStructure(
DataCube dataCube,
Guid selectTransformId,
NativeStructure newNativeStructure,
IDictionary<string, string> elementsMap
)
Sub ReplaceStructure (
dataCube As DataCube,
selectTransformId As Guid,
newNativeStructure As NativeStructure,
elementsMap As IDictionary(Of String, String)
)
void ReplaceStructure(
DataCube^ dataCube,
Guid selectTransformId,
NativeStructure^ newNativeStructure,
IDictionary<String^, String^>^ elementsMap
)
abstract ReplaceStructure :
dataCube : DataCube *
selectTransformId : Guid *
newNativeStructure : NativeStructure *
elementsMap : IDictionary<string, string> -> unit Parameters
- dataCube DataCube
- The data cube.
- selectTransformId Guid
- The select transform identifier.
- newNativeStructure NativeStructure
- The new native structure.
- elementsMap IDictionaryString, String
- The elements map.
Provide map between unique native names of replaced element in source Select Transform and replacing element in target Native Structure.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | dataCube is
or
newNativeStructure is .
|
| ArgumentException | selectTransformId value is Empty
or
elementsMap is or empty
or
elementsMap contains key or value that is or Empty.
|
| NotFoundException | selectTransformId references a Transform which does not exist
or
element with native name taken from one of the values in elementsMap is not found in the new Select Transform
or
element with native name taken from one of the keys in elementsMap is not found in the existing Select Transform
or
element with native name taken from one of the keys in elementsMap does not have connected input element in the next connected transform.
|
| InvalidOperationException | selectTransformId is not a SelectTransform
or
data type of one of the replacement columns is not compatible with the data type of the existing column.
|
See Also