Megosztás a következőn keresztül:


TmdlSerializer.DeserializeModelFromCompressedFile Method

Definition

Overloads

DeserializeModelFromCompressedFile(String)

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

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

DeserializeModelFromCompressedFile(String, MetadataDeserializationOptions)

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

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

DeserializeModelFromCompressedFile(String)

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

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

public static Microsoft.AnalysisServices.Tabular.Model DeserializeModelFromCompressedFile (string path);
static member DeserializeModelFromCompressedFile : string -> Microsoft.AnalysisServices.Tabular.Model
Public Shared Function DeserializeModelFromCompressedFile (path As String) As Model

Parameters

path
String

The path to the compressed file.

Returns

The Model instance that was created based on the TMDL documents.

Exceptions

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

The specified path does not exist.

The content in the compressed file contains TMDL text in an invalid format.

The content in the compressed file contains TMDL text is in valid format, but contains invalid metadata.

Applies to

DeserializeModelFromCompressedFile(String, MetadataDeserializationOptions)

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

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

public static Microsoft.AnalysisServices.Tabular.Model DeserializeModelFromCompressedFile (string path, Microsoft.AnalysisServices.Tabular.Serialization.MetadataDeserializationOptions options);
static member DeserializeModelFromCompressedFile : string * Microsoft.AnalysisServices.Tabular.Serialization.MetadataDeserializationOptions -> Microsoft.AnalysisServices.Tabular.Model
Public Shared Function DeserializeModelFromCompressedFile (path As String, options As MetadataDeserializationOptions) As Model

Parameters

path
String

The path to the compressed file.

options
MetadataDeserializationOptions

The options for the deserialization action.

Returns

The Model instance that was created based on the TMDL documents.

Exceptions

  • 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 specified path does not exist.

The content in the compressed file contains TMDL text in an invalid format.

The content in the compressed file contains TMDL text is in valid format, but contains invalid metadata.

Applies to