JsonSerializer.SerializeDatabase(Database, SerializeOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.