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