Share via


MetadataCompatibilityOptionsBuilder Constructors

Definition

Overloads

MetadataCompatibilityOptionsBuilder(MetadataCompatibilityOptions)

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

MetadataCompatibilityOptionsBuilder(MetadataSerializationStyle)

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

MetadataCompatibilityOptionsBuilder(MetadataCompatibilityOptions)

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

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

Parameters

options
MetadataCompatibilityOptions

The set of initial options.

Exceptions

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

Applies to

MetadataCompatibilityOptionsBuilder(MetadataSerializationStyle)

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

public MetadataCompatibilityOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle style = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataCompatibilityOptionsBuilder
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 MetadataCompatibilityOptions. 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 specific to TMDL.

Applies to