MetadataSerializationOptionsBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MetadataSerializationOptionsBuilder(MetadataSerializationOptions) |
Creates an instance of the MetadataSerializationOptionsBuilder class that is initialized by the specified options. |
MetadataSerializationOptionsBuilder(MetadataSerializationStyle) |
Creates a new instance of MetadataSerializationOptionsBuilder class based on the specified style. |
MetadataSerializationOptionsBuilder(MetadataSerializationOptions)
Creates an instance of the MetadataSerializationOptionsBuilder class that is initialized by the specified options.
public MetadataSerializationOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions options);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder
Public Sub New (options As MetadataSerializationOptions)
Parameters
- options
- MetadataSerializationOptions
The set of initial options.
Exceptions
The specified options instance is a null reference (Nothing in Visual Basic).
Applies to
MetadataSerializationOptionsBuilder(MetadataSerializationStyle)
Creates a new instance of MetadataSerializationOptionsBuilder class based on the specified style.
public MetadataSerializationOptionsBuilder (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle style = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default);
new Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle -> Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptionsBuilder
Public Sub New (Optional style As MetadataSerializationStyle = Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationStyle.Default)
Parameters
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 MetadataSerializationOptions. 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 TmdlSerializationOptions.