Creates a copy of this ScriptDefinition instance with an updated wrapInTransaction flag. Can be chained with other
.With methods. i.e.
var newScriptDefinition = oldScriptDefinition.WithName("New Name").WithWrapInTransaction(false);
Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public ScriptDefinition WithWrapInTransaction( bool wrapInTransaction )
Parameters
- wrapInTransaction
- Type: SystemBoolean
The updated wrapInTransaction flag
Return Value
Type: ScriptDefinitionA copy of this ScriptDefinition object with an updated wrapInTransaction flag
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0
See Also