JsonScripter.ScriptCreate 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
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
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 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
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 Create command.