MetadataFormattingOptionsBuilderExtensions.WithBaseIndentationLevel 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.
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.