Share via


JsonSerializer.SerializeDatabase(Database, SerializeOptions) Method

Definition

Serializes the metadata of an in-memory Tabular database to a JSON structure.

public static string SerializeDatabase (Microsoft.AnalysisServices.Tabular.Database database, Microsoft.AnalysisServices.Tabular.SerializeOptions options = default);
static member SerializeDatabase : Microsoft.AnalysisServices.Tabular.Database * Microsoft.AnalysisServices.Tabular.SerializeOptions -> string
Public Shared Function SerializeDatabase (database As Database, Optional options As SerializeOptions = Nothing) As String

Parameters

database
Database

The Database object to serialize.

options
SerializeOptions

Serialization options.

Returns

A Database definition in JSON.

Applies to