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