Share via


JsonSerializer.DeserializeDatabase Method

Definition

Deserializes a Database object.

public static Microsoft.AnalysisServices.Tabular.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.Tabular.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

JSON structure to deserialize.

options
DeserializeOptions

Serialization options.

mode
CompatibilityMode

The compatibility mode of the server.

Returns

The Database as a Tabular metadata object.

Applies to