JsonScripter.ScriptBackup 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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 命令。