MetadataSerializationOptionsBuilderExtensions.GetExpressionTrimStyle 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.
Gets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text; default is TrimTrailingWhitespaces.
public static Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle GetExpressionTrimStyle (this Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder builder);
static member GetExpressionTrimStyle : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder -> Microsoft.AnalysisServices.Tabular.Tmdl.TmdlExpressionTrimStyle
<Extension()>
Public Function GetExpressionTrimStyle (builder As MetadataSerializationOptionsBuilder) As TmdlExpressionTrimStyle
Parameters
The MetadataSerializationOptionsBuilder that initializes the serialization options.
Returns
A TmdlExpressionTrimStyle enumeration value, which represents the style.
Exceptions
The specified builder is a null reference (Nothing in Visual Basic).
The specified builder was not initialized to set TMDL serialization options.