JsonScripter.ScriptCreate Method

Definition

Overloads

ScriptCreate(Database, Boolean)

Scripts out a given Tabular database into a Create command.

ScriptCreate(NamedMetadataObject, Boolean)

Scripts out a given Tabular metadata object into a Create command.

ScriptCreate(Database, Boolean)

Scripts out a given Tabular database into a Create command.

public static string ScriptCreate (Microsoft.AnalysisServices.Core.Database db, bool includeRestrictedInformation = false);
static member ScriptCreate : Microsoft.AnalysisServices.Core.Database * bool -> string
Public Shared Function ScriptCreate (db As Database, Optional includeRestrictedInformation As Boolean = false) As String

Parameters

db
Database

Name of a Tabular database.

includeRestrictedInformation
Boolean

An indication if restricted information should be included in the script [default is false]

Returns

String

System.String containing a scripted Create command.

Applies to

ScriptCreate(NamedMetadataObject, Boolean)

Scripts out a given Tabular metadata object into a Create command.

public static string ScriptCreate (Microsoft.AnalysisServices.Tabular.NamedMetadataObject obj, bool includeRestrictedInformation = false);
static member ScriptCreate : Microsoft.AnalysisServices.Tabular.NamedMetadataObject * bool -> string
Public Shared Function ScriptCreate (obj As NamedMetadataObject, Optional includeRestrictedInformation As Boolean = false) As String

Parameters

obj
NamedMetadataObject

Name of a Tabular metadata object.

includeRestrictedInformation
Boolean

An indication if restricted information should be included in the script [default is false]

Returns

String

System.String containing a scripted Create command.

Applies to