JsonSerializer.DeserializeDatabase Method

Definition

Deserializes a database definition from JSON.

public static Microsoft.AnalysisServices.Database DeserializeDatabase (string json, Microsoft.AnalysisServices.Tabular.DeserializeOptions options = default, Microsoft.AnalysisServices.CompatibilityMode mode = Microsoft.AnalysisServices.CompatibilityMode.Unknown);
static member DeserializeDatabase : string * Microsoft.AnalysisServices.Tabular.DeserializeOptions * Microsoft.AnalysisServices.CompatibilityMode -> Microsoft.AnalysisServices.Database
Public Shared Function DeserializeDatabase (json As String, Optional options As DeserializeOptions = Nothing, Optional mode As CompatibilityMode = Microsoft.AnalysisServices.CompatibilityMode.Unknown) As Database

Parameters

json
String

The serialized database definition in JSON.

options
DeserializeOptions

The options how to deserialize the database.

mode
CompatibilityMode

The compatibility mode of the server.

Returns

The deserialized Database object.

Applies to