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 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.