MetadataSerializationContext Class

Definition

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

   A base class for a metadata serialization context, that contains a set of documents with the content of the metadata.
public abstract class MetadataSerializationContext : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSerializationManagerBase, System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Serialization.MetadataDocument>
type MetadataSerializationContext = class
    inherit MetadataSerializationManagerBase
    interface seq<MetadataDocument>
    interface IEnumerable
Public MustInherit Class MetadataSerializationContext
Inherits MetadataSerializationManagerBase
Implements IEnumerable(Of MetadataDocument)
Inheritance
MetadataSerializationContext
Implements

Properties

Documents

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

Gets the logical-paths of the documents that are contained in the context.

Host

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

Gets and sets a host that implements the IMetadataSerializationHost in order to be notified of events during on-going serialization activity.

Item[String]

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

Gets the metadata document that is indexed by the specified logical-path.

Style

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

Gets the style in which the content is serialized in the set of documents.

Methods

Clear()

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

Clear all the documents from the context.

Create(MetadataSerializationStyle)

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

Creates a new instance of the MetadataSerializationContext class, without any loaded documents.

Create(MetadataSerializationStyle, Database)

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

Creates a new instance of the MetadataSerializationContext class, and load all the documents that are the result of serializing the specified database in the provided style.

Create(MetadataSerializationStyle, Database, MetadataSerializationOptions)

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

Creates a new instance of the MetadataSerializationContext class, and load all the documents that are the result of serializing the specified database using the given options in the provided style.

Create(MetadataSerializationStyle, Model)

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

Creates a new instance of the MetadataSerializationContext class, and load all the documents that are the result of serializing the specified model in the provided style.

Create(MetadataSerializationStyle, Model, MetadataSerializationOptions)

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

Creates a new instance of the MetadataSerializationContext class, and load all the documents that are the result of serializing the specified model using the given options in the provided style.

GetEnumerator()

Returns an enumerator that iterates through the collection.

LoadFromDatabase(Database, MetadataSerializationOptions, Object)

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

Load the context with a the set of documents that represent the provided database using the given options.

LoadFromDatabase(Database, Object)

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

Load the context with a the set of documents that represent the provided database.

LoadFromModel(Model, MetadataSerializationOptions, Object)

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

Load the context with a the set of documents that represent the provided model using the given options.

LoadFromModel(Model, Object)

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

Load the context with a the set of documents that represent the provided model.

ReadFromDocument(Stream)

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

Read the content of the documnet, provided by the specified stream and store it in the context.

ReadFromDocument(String, Stream)

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

Read the content of the documnet, provided by the specified stream and store it in the context under the specified logical path.

ReadFromDocument(String, TextReader, Encoding)

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

Read the content of the documnet, provided by the specified reader and store it in the context under the specified logical path.

ReadFromDocument(TextReader, Encoding)

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

Read the content of the documnet, provided by the specified reader and store it in the context.

RemoveDocument(String)

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

Removes a metadata document from the set of documents in the context.

ToDatabase(Object)

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

Creates a new database based on the content of the metadata documents that are stored in the context.

ToModel(Object)

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

Creates a new model based on the content of the metadata documents that are stored in the context.

UpdateModel(Model, Object)

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

Updates the provided Model based on the content of the metadata documents that are stored in the context.

WriteToDocument(String, Stream)

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

Writing the context that is indexed by the specified logical-path into the provided document.

WriteToDocument(String, TextWriter, Encoding)

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

Writing the context that is indexed by the specified logical-path into the provided writer.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to