JsonScripter.ScriptBackup Method

Definition

Overloads

ScriptBackup(Database, String)

Creates a script to backup the database.

ScriptBackup(Database, String, String, Boolean, Boolean)

Creates a script to backup the database.

ScriptBackup(Database, String)

Creates a script to backup the database.

public static string ScriptBackup (Microsoft.AnalysisServices.Core.Database db, string filePath);
static member ScriptBackup : Microsoft.AnalysisServices.Core.Database * string -> string
Public Shared Function ScriptBackup (db As Database, filePath As String) As String

Parameters

db
Database

Name of a Tabular database.

filePath
String

Path of the backup file.

Returns

String

System.String containing a scripted Backup command.

Applies to

ScriptBackup(Database, String, String, Boolean, Boolean)

Creates a script to backup the database.

public static string ScriptBackup (Microsoft.AnalysisServices.Core.Database db, string filePath, string password, bool allowOverwrite, bool applyCompression);
static member ScriptBackup : Microsoft.AnalysisServices.Core.Database * string * string * bool * bool -> string
Public Shared Function ScriptBackup (db As Database, filePath As String, password As String, allowOverwrite As Boolean, applyCompression As Boolean) As String

Parameters

db
Database

Name of a Tabular database.

filePath
String

Path of the backup file.

password
String

The password text to apply to the backup.

allowOverwrite
Boolean

True if overwrite of the target is enabled, False otherwise.

applyCompression
Boolean

True if compression is to be used, False otherwise.

Returns

String

System.String containing a scripted Backup command.

Applies to