Share via


ModelExtensions.ToTmdl Method

Definition

Overloads

ToTmdl(Model)

Builds a set of TMDL documents based on the metadata of the secified model.

ToTmdl(Model, MetadataSerializationOptions)

Builds a set of TMDL documents based on the metadata of the secified model using the given options.

ToTmdl(Model)

Builds a set of TMDL documents based on the metadata of the secified model.

public static System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument> ToTmdl (this Microsoft.AnalysisServices.Tabular.Model model);
static member ToTmdl : Microsoft.AnalysisServices.Tabular.Model -> seq<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument>
<Extension()>
Public Function ToTmdl (model As Model) As IEnumerable(Of MetadataDocument)

Parameters

model
Model

The source model.

Returns

A set of MetadataDocument, representing the metadata of the model.

Exceptions

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

Applies to

ToTmdl(Model, MetadataSerializationOptions)

Builds a set of TMDL documents based on the metadata of the secified model using the given options.

public static System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument> ToTmdl (this Microsoft.AnalysisServices.Tabular.Model model, Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions options);
static member ToTmdl : Microsoft.AnalysisServices.Tabular.Model * Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions -> seq<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument>
<Extension()>
Public Function ToTmdl (model As Model, options As MetadataSerializationOptions) As IEnumerable(Of MetadataDocument)

Parameters

model
Model

The source model.

options
MetadataSerializationOptions

The options for the serialization operation.

Returns

A set of MetadataDocument, representing the metadata of the model.

Exceptions

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

Applies to