Share via


MetadataDeserializationOptionsBuilder Constructors

Definition

Overloads

MetadataDeserializationOptionsBuilder(MetadataDeserializationOptions)

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

MetadataDeserializationOptionsBuilder(MetadataSerializationStyle)

Creates a new instance of MetadataDeserializationOptionsBuilder class based on the specified style.

MetadataDeserializationOptionsBuilder(MetadataDeserializationOptions)

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

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

Parameters

options
MetadataDeserializationOptions

The set of initial options.

Exceptions

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

Applies to

MetadataDeserializationOptionsBuilder(MetadataSerializationStyle)

Creates a new instance of MetadataDeserializationOptionsBuilder class based on the specified style.

public MetadataDeserializationOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle style = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataDeserializationOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataDeserializationOptionsBuilder
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 MetadataDeserializationOptions. 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 the TMDL derived class.

Applies to