JsonScripter.ScriptCreateOrReplace 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
| ScriptCreateOrReplace(NamedMetadataObject, Boolean) |
Scripts out a given Tabular metadata object into a CreateOrReplace command. |
| ScriptCreateOrReplace(Database, Boolean) |
Scripts out a given Tabular database into a CreateOrReplace command. |
ScriptCreateOrReplace(NamedMetadataObject, Boolean)
Scripts out a given Tabular metadata object into a CreateOrReplace command.
public static string ScriptCreateOrReplace (Microsoft.AnalysisServices.Tabular.NamedMetadataObject obj, bool includeRestrictedInformation = false);
static member ScriptCreateOrReplace : Microsoft.AnalysisServices.Tabular.NamedMetadataObject * bool -> string
Public Shared Function ScriptCreateOrReplace (obj As NamedMetadataObject, Optional includeRestrictedInformation As Boolean = false) As String
Parameters
Name of a Tabular metadata object.
- includeRestrictedInformation
- Boolean
An indication if restricted information should be included in the script [default is false]
Returns
System.String containing a scripted CreateOrReplace command.
Applies to
ScriptCreateOrReplace(Database, Boolean)
Scripts out a given Tabular database into a CreateOrReplace command.
public static string ScriptCreateOrReplace (Microsoft.AnalysisServices.Core.Database db, bool includeRestrictedInformation = false);
static member ScriptCreateOrReplace : Microsoft.AnalysisServices.Core.Database * bool -> string
Public Shared Function ScriptCreateOrReplace (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
System.String containing a scripted CreateOrReplace command.