DataTableDataSourceOperationReplaceTransformations Method

Spotfire 14.3 API Reference
Replaces the current (if any) DataTransformations performed on the data read from the DataTable, 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 returns true.

To remove all transformations, supply an empty transformations parameter.

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