Share via


DatabaseExtensions.ToTmdl Method

Definition

Overloads

ToTmdl(Database)

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

ToTmdl(Database, MetadataSerializationOptions)

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

ToTmdl(Database)

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

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

Parameters

db
Database

The source database.

Returns

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

Exceptions

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

Applies to

ToTmdl(Database, MetadataSerializationOptions)

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

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

Parameters

db
Database

The source database.

options
MetadataSerializationOptions

The options for the serialization operation.

Returns

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

Exceptions

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

Applies to