Share via


TmdlSerializer.SerializeDatabaseToFolder Method

Definition

Overloads

SerializeDatabaseToFolder(Database, String)

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the default serialization strategy.

SerializeDatabaseToFolder(Database, MetadataSerializationOptions, String)

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the specified options and the default serialization strategy.

SerializeDatabaseToFolder(Database, String)

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the default serialization strategy.

public static void SerializeDatabaseToFolder (Microsoft.AnalysisServices.Database db, string path);
static member SerializeDatabaseToFolder : Microsoft.AnalysisServices.Database * string -> unit
Public Shared Sub SerializeDatabaseToFolder (db As Database, path As String)

Parameters

db
Database

The database to serialize.

path
String

The path of the target folder into which the database documents will be serialized.

Exceptions

  • The specified database is a null reference (Nothing in Visual Basic).
  • The specified path is a null reference (Nothing in Visual Basic) or empty.

Remarks

Apart from all the documents that include the serialization of the database child model, the properties of the database will be captured in a designated document as well.

Applies to

SerializeDatabaseToFolder(Database, MetadataSerializationOptions, String)

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the specified options and the default serialization strategy.

public static void SerializeDatabaseToFolder (Microsoft.AnalysisServices.Database db, Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions options, string path);
static member SerializeDatabaseToFolder : Microsoft.AnalysisServices.Database * Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions * string -> unit
Public Shared Sub SerializeDatabaseToFolder (db As Database, options As MetadataSerializationOptions, path As String)

Parameters

db
Database

The database to serialize.

options
MetadataSerializationOptions

The options for the serialization action.

path
String

The path of the target folder into which the database documents will be serialized.

Exceptions

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

The provided options include invalid settings.

Remarks

Apart from all the documents that include the serialization of the database child model, the properties of the database will be captured in a designated document as well.

Applies to