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.

C#
public MetadataDeserializationOptionsBuilder(Microsoft.AnalysisServices.Tabular.Serialization.MetadataDeserializationOptions options);

Parameters

options
MetadataDeserializationOptions

The set of initial options.

Exceptions

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

Applies to

Analysis Services SDK for .NET latest
Product Versions
Analysis Services SDK for .NET latest

MetadataDeserializationOptionsBuilder(MetadataSerializationStyle)

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

C#
public MetadataDeserializationOptionsBuilder(Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle style = 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

Analysis Services SDK for .NET latest
Product Versions
Analysis Services SDK for .NET latest