MetadataSerializationOptionsBuilderExtensions.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.Serialization.MetadataSerializationOptionsBuilder WithExpressionTrimStyle (this Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder builder, Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle style);
static member WithExpressionTrimStyle : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder * Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder
<Extension()>
Public Function WithExpressionTrimStyle (builder As MetadataSerializationOptionsBuilder, style As TmdlExpressionTrimStyle) As MetadataSerializationOptionsBuilder
Parameters
The MetadataSerializationOptionsBuilder that initializes the serialization options.
- style
- TmdlExpressionTrimStyle
The style in which lines are trimmed.
Returns
The same instance of the MetadataSerializationOptionsBuilder.
Exceptions
The specified builder is a null reference (Nothing in Visual Basic).
The specified builder was not initialized to set TMDL serialization options.