Jaa


MetadataFormattingOptionsBuilder Constructors

Definition

Overloads

MetadataFormattingOptionsBuilder(MetadataFormattingOptions)

Creates an instance of the MetadataFormattingOptionsBuilder class that is initialized by the specified options.

MetadataFormattingOptionsBuilder(MetadataSerializationStyle)

Creates an instance of the MetadataFormattingOptionsBuilder class based on the specified style.

MetadataFormattingOptionsBuilder(MetadataFormattingOptions)

Creates an instance of the MetadataFormattingOptionsBuilder class that is initialized by the specified options.

public MetadataFormattingOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions options);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptions -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder
Public Sub New (options As MetadataFormattingOptions)

Parameters

options
MetadataFormattingOptions

The set of initial options.

Exceptions

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

Applies to

MetadataFormattingOptionsBuilder(MetadataSerializationStyle)

Creates an instance of the MetadataFormattingOptionsBuilder class based on the specified style.

public MetadataFormattingOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle style = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataFormattingOptionsBuilder
Public Sub New (Optional style As MetadataSerializationStyle = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default)

Parameters

style
MetadataSerializationStyle

The style of the content that are controlled by the options.

Exceptions

The specified style is not a valid style.

Remarks

If the specified style is Default, the builder would be only capable to configure the common options that are included in the MetadataFormattingOptions. In order to be able to control the options that are specific to a particular style of content, pass that style as the parameter of the c'tor; for example, passing Tmdl will provide the ability to control the additional options that are included in TmdlFormattingOptions.

Applies to