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

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

Name of the 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 Alter command.

Applies to