Jaa


TmdlSerializer.GenerateSchema Method

Definition

Overloads

GenerateSchema(Stream)

Generates the JSON schema of the TMDL info-set with default options, and writes them into the provided stream.

GenerateSchema(Stream, MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options, and writes them into the provided stream.

GenerateSchema()

Generates the JSON schema of the TMDL info-set with default options.

GenerateSchema(MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options.

GenerateSchema(Stream)

Generates the JSON schema of the TMDL info-set with default options, and writes them into the provided stream.

public static void GenerateSchema (System.IO.Stream document);
static member GenerateSchema : System.IO.Stream -> unit
Public Shared Sub GenerateSchema (document As Stream)

Parameters

document
Stream

The stream that is used to persist the JSON Schema into.

Exceptions

The specified stream is a null reference (Nothing in Visual Basic).

Applies to

GenerateSchema(Stream, MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options, and writes them into the provided stream.

public static void GenerateSchema (System.IO.Stream document, Microsoft.AnalysisServices.Tabular.Serialization.MetadataSchemaSerializationOptions options);
static member GenerateSchema : System.IO.Stream * Microsoft.AnalysisServices.Tabular.Serialization.MetadataSchemaSerializationOptions -> unit
Public Shared Sub GenerateSchema (document As Stream, options As MetadataSchemaSerializationOptions)

Parameters

document
Stream

The stream that is used to persist the JSON Schema into.

options
MetadataSchemaSerializationOptions

The options for the schema generation action.

Exceptions

  • The specified stream is a null reference (Nothing in Visual Basic).
  • The specified options instance is a null reference (Nothing in Visual Basic).

Applies to

GenerateSchema()

Generates the JSON schema of the TMDL info-set with default options.

public static string GenerateSchema ();
static member GenerateSchema : unit -> string
Public Shared Function GenerateSchema () As String

Returns

A String that contains the JSON Schema.

Applies to

GenerateSchema(MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options.

public static string GenerateSchema (Microsoft.AnalysisServices.Tabular.Serialization.MetadataSchemaSerializationOptions options);
static member GenerateSchema : Microsoft.AnalysisServices.Tabular.Serialization.MetadataSchemaSerializationOptions -> string
Public Shared Function GenerateSchema (options As MetadataSchemaSerializationOptions) As String

Parameters

options
MetadataSchemaSerializationOptions

The options for the schema generation action.

Returns

A String that contains the JSON Schema.

Exceptions

The specified options instance is a null reference (Nothing in Visual Basic).

Applies to