DataOperationSupportingTransformationsReplaceTransformations Method

Spotfire 14.3 API Reference
Replaces the current (if any) DataTransformations performed by the DataOperation, with the supplied transformations.

Namespace:  Spotfire.Dxp.Data.DataOperations
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public void ReplaceTransformations(
	IEnumerable<DataTransformation> transformations
)

Parameters

transformations
Type: System.Collections.GenericIEnumerableDataTransformation
The new transformations.
Exceptions

ExceptionCondition
InvalidOperationExceptionThrown if replacing the transformations is not possible.
Remarks

Before calling this method, validate that CanReplaceTransformations is true.

To remove all transformations, supply an empty transformations parameter. Note that if the DataOperation is a DataTransformationsOperation, this is not possible since the DataTransformationsOperation needs to include at least one DataTransformation.

The data operation will be refreshed synchronously.

Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference