Share via


JsonScripter.ScriptAlter Method

Definition

Overloads

ScriptAlter(Database, Boolean)

Scripts out a given tabular database into an Alter command.

ScriptAlter(NamedMetadataObject, Boolean)

Scripts out a given tabular metadata object into an Alter command.

ScriptAlter(Database, Boolean)

Scripts out a given tabular database into an Alter command.

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

Parameters

db
Database

The tabular database to script.

includeRestrictedInformation
Boolean

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

Returns

A String containing the Alter command.

Applies to

ScriptAlter(NamedMetadataObject, Boolean)

Scripts out a given tabular metadata object into an Alter command.

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

Parameters

obj
NamedMetadataObject

The tabular metadata object to script.

includeRestrictedInformation
Boolean

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

Returns

A String containing the Alter command.

Applies to