共用方式為


JsonScripter.ScriptBackup 方法

定義

多載

ScriptBackup(Database, String)

使用指定的備份位置,將指定的表格式資料庫編寫成 Backup 命令。

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

使用指定的備份位置和其他選擇性設定,將指定的表格式資料庫編寫成 Backup 命令。

ScriptBackup(Database, String)

使用指定的備份位置,將指定的表格式資料庫編寫成 Backup 命令。

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

參數

db
Database

要編寫腳本的表格式資料庫。

filePath
String

備份檔案的路徑。

傳回

String 包含 Backup 命令。

適用於

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

使用指定的備份位置和其他選擇性設定,將指定的表格式資料庫編寫成 Backup 命令。

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

參數

db
Database

要編寫腳本的表格式資料庫。

filePath
String

備份檔案的路徑。

password
String

要套用至備份的密碼文字。

allowOverwrite
Boolean

如果已啟用目標的覆寫,則為 True;否則為 false。

applyCompression
Boolean

如果要使用壓縮,則為 True;否則為 false。

傳回

String 包含 Backup 命令。

適用於