TmdlSerializer.SerializeDatabaseToFolder Method
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
SerializeDatabaseToFolder(Database, String) |
Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the default serialization strategy. |
SerializeDatabaseToFolder(Database, String, MetadataSerializationOptions) |
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)
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.Tabular.Database db, string path);
static member SerializeDatabaseToFolder : Microsoft.AnalysisServices.Tabular.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, String, MetadataSerializationOptions)
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.Tabular.Database db, string path, Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions options);
static member SerializeDatabaseToFolder : Microsoft.AnalysisServices.Tabular.Database * string * Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationOptions -> unit
Public Shared Sub SerializeDatabaseToFolder (db As Database, path As String, options As MetadataSerializationOptions)
Parameters
- db
- Database
The database to serialize.
- path
- String
The path of the target folder into which the database documents will be serialized.
- options
- MetadataSerializationOptions
The options for the serialization action.
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.
- The specified options instance is a null reference (Nothing in Visual Basic).
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.