Share via


MetadataFormattingOptionsBuilderExtensions.WithCasingStyle Method

Definition

Sets the casing style in which keywords are written to the TMDL text.

public static Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder WithCasingStyle (this Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder builder, Microsoft.AnalysisServices.Tabular.Tmdl.TmdlCasingStyle style);
static member WithCasingStyle : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder * Microsoft.AnalysisServices.Tabular.Tmdl.TmdlCasingStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder
<Extension()>
Public Function WithCasingStyle (builder As MetadataFormattingOptionsBuilder, style As TmdlCasingStyle) As MetadataFormattingOptionsBuilder

Parameters

builder
MetadataFormattingOptionsBuilder

The MetadataFormattingOptionsBuilder that initializes the formatting options.

style
TmdlCasingStyle

The casing style in which keywords are written to the TMDL text.

Returns

The same instance of the MetadataFormattingOptionsBuilder.

Exceptions

The specified builder is a null reference (Nothing in Visual Basic).

The specified builder was not initialized to set TMDL formatting options.

Applies to