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