Jaa


MetadataFormattingOptionsBuilderExtensions.WithBaseIndentationLevel Method

Definition

Sets the level of the base indentation of the TMDL documents.

public static Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder WithBaseIndentationLevel (this Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder builder, int level);
static member WithBaseIndentationLevel : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder * int -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder
<Extension()>
Public Function WithBaseIndentationLevel (builder As MetadataFormattingOptionsBuilder, level As Integer) As MetadataFormattingOptionsBuilder

Parameters

builder
MetadataFormattingOptionsBuilder

The MetadataFormattingOptionsBuilder that initializes the formatting options.

level
Int32

The base indentation level.

Returns

The same instance of the MetadataFormattingOptionsBuilder.

Exceptions

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

The specified level is invalid.

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

Remarks

By default, the level of the base indentation for the document is 0; this option can be used to set additional indentation that would be applied to the entire document.

Applies to