Share via


JsonSerializer.SerializeDatabase(Database, SerializeOptions) Method

Definition

Serializes a database definition to JSON.

public static string SerializeDatabase (Microsoft.AnalysisServices.Database database, Microsoft.AnalysisServices.Tabular.SerializeOptions options = default);
static member SerializeDatabase : Microsoft.AnalysisServices.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 to serialize.

options
SerializeOptions

The serialization options.

Returns

A String with the serialized database.

Applies to