TmdlSerializationOptionsExtensions.WithExpressionTrimStyle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text.
public static Microsoft.AnalysisServices.Tabular.Tmdl.TmdlSerializationOptions WithExpressionTrimStyle(this Microsoft.AnalysisServices.Tabular.Tmdl.TmdlSerializationOptions options, Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle style);
static member WithExpressionTrimStyle : Microsoft.AnalysisServices.Tabular.Tmdl.TmdlSerializationOptions * Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle -> Microsoft.AnalysisServices.Tabular.Tmdl.TmdlSerializationOptions
<Extension()>
Public Function WithExpressionTrimStyle (options As TmdlSerializationOptions, style As TmdlExpressionTrimStyle) As TmdlSerializationOptions
Parameters
- options
- TmdlSerializationOptions
The instance of the options to update.
- style
- TmdlExpressionTrimStyle
The style in which lines are trimmed.
Returns
The cloned instance of the TmdlSerializationOptions after the change.
Exceptions
The specified options instance is a null reference (Nothing in Visual Basic).