Share via


MetadataSerializationOptionsBuilder.WithFormattingOptions Method

Definition

Sets the formatting options that should be used when generating the metadata content.

public Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder WithFormattingOptions (Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions formattingOptions);
member this.WithFormattingOptions : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder
Public Function WithFormattingOptions (formattingOptions As MetadataFormattingOptions) As MetadataSerializationOptionsBuilder

Parameters

formattingOptions
MetadataFormattingOptions

The formating options

Returns

The same instance of the MetadataSerializationOptionsBuilder.

Exceptions

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

Applies to