Jaa


MetadataSerializationOptionsBuilderExtensions.WithExpressionTrimStyle Method

Definition

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

builder
MetadataSerializationOptionsBuilder

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.

Applies to