Share via


JsonScripter.GenerateSchema Method

Definition

Overloads

GenerateSchema()

Generates a JSON schema for validating the JSON script that JsonScripter can handle using default compatibility settings.

GenerateSchema(CompatibilityMode, Int32)

Generates a JSON schema for validating the JSON script that JsonScripter can handle using the specified compatibility settings.

GenerateSchema()

Generates a JSON schema for validating the JSON script that JsonScripter can handle using default compatibility settings.

public static string GenerateSchema ();
static member GenerateSchema : unit -> string
Public Shared Function GenerateSchema () As String

Returns

A String with the JSON schema.

Applies to

GenerateSchema(CompatibilityMode, Int32)

Generates a JSON schema for validating the JSON script that JsonScripter can handle using the specified compatibility settings.

public static string GenerateSchema (Microsoft.AnalysisServices.CompatibilityMode mode, int dbCompatibilityLevel);
static member GenerateSchema : Microsoft.AnalysisServices.CompatibilityMode * int -> string
Public Shared Function GenerateSchema (mode As CompatibilityMode, dbCompatibilityLevel As Integer) As String

Parameters

mode
CompatibilityMode

the compatibility mode of the target server

dbCompatibilityLevel
Int32

target compatibility-level

Returns

A String with the JSON schema.

Applies to