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