Jaa


MetadataSerializationOptionsBuilderExtensions.GetExpressionTrimStyle Method

Definition

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

builder
MetadataSerializationOptionsBuilder

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.

Applies to