RestoreInfo 建構函式

定義

多載

RestoreInfo()

使用預設值,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義、密碼、資料庫儲存位置,以及資料庫的讀/寫模式,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義、密碼,以及資料庫儲存位置,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義,以及密碼,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列,以及要還原之角色的安全性定義,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode, Boolean)

使用檔案還原、資料庫名稱、覆寫指標、還原位置陣列、要還原的角色安全性定義、密碼、資料庫儲存位置、資料庫儲存位置、資料庫讀取/寫入模式和不相容指標,初始化 RestoreInfo 的新實例。

RestoreInfo(String, String, Boolean)

使用要還原的檔案、資料庫名稱以及覆寫指標,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String)

使用要還原的檔案和資料庫名稱,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String)

使用要還原的檔案,初始化 RestoreInfo 的新執行個體。

RestoreInfo(String, String, Boolean, RestoreLocation[])

使用要還原的檔案、資料庫名稱、覆寫指標,以及還原位置陣列,初始化 RestoreInfo 的新執行個體。

RestoreInfo()

使用預設值,初始化 RestoreInfo 的新執行個體。

public RestoreInfo ();
Public Sub New ()

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義、密碼、資料庫儲存位置,以及資料庫的讀/寫模式,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation, Microsoft.AnalysisServices.ReadWriteMode readWriteMode);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string * Microsoft.AnalysisServices.ReadWriteMode -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String, readWriteMode As ReadWriteMode)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

security
RestoreSecurity

RestoreSecurity 列舉值,指定正進行還原的角色物件所要發生的情況。

password
String

含有讀取還原檔案所需密碼的字串。

dbStorageLocation
String

資料庫的儲存位置。

readWriteMode
ReadWriteMode

描述資料庫讀取/寫入狀態的列舉。

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義、密碼,以及資料庫儲存位置,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

security
RestoreSecurity

RestoreSecurity 列舉值,指定正進行還原的角色物件所要發生的情況。

password
String

含有讀取還原檔案所需密碼的字串。

dbStorageLocation
String

資料庫的儲存位置。

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列、要還原之角色的安全性定義,以及密碼,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

security
RestoreSecurity

RestoreSecurity 列舉值,指定正進行還原的角色物件所要發生的情況。

password
String

含有讀取還原檔案所需密碼的字串。

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity)

使用要還原的檔案、資料庫名稱、覆寫指標、還原位置陣列,以及要還原之角色的安全性定義,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

security
RestoreSecurity

RestoreSecurity 列舉值,指定正進行還原的角色物件所要發生的情況。

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode, Boolean)

使用檔案還原、資料庫名稱、覆寫指標、還原位置陣列、要還原的角色安全性定義、密碼、資料庫儲存位置、資料庫儲存位置、資料庫讀取/寫入模式和不相容指標,初始化 RestoreInfo 的新實例。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation, Microsoft.AnalysisServices.ReadWriteMode readWriteMode, bool ignoreIncompatibilities);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string * Microsoft.AnalysisServices.ReadWriteMode * bool -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String, readWriteMode As ReadWriteMode, ignoreIncompatibilities As Boolean)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

security
RestoreSecurity

RestoreSecurity 列舉值,指定正進行還原的角色物件所要發生的情況。

password
String

含有讀取還原檔案所需密碼的字串。

dbStorageLocation
String

資料庫的儲存位置。

readWriteMode
ReadWriteMode

描述資料庫讀取/寫入狀態的列舉。

ignoreIncompatibilities
Boolean

是否要在還原期間忽略模型不相容。

適用於

RestoreInfo(String, String, Boolean)

使用要還原的檔案、資料庫名稱以及覆寫指標,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

適用於

RestoreInfo(String, String)

使用要還原的檔案和資料庫名稱,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName);
new Microsoft.AnalysisServices.RestoreInfo : string * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String)

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

適用於

RestoreInfo(String)

使用要還原的檔案,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file);
new Microsoft.AnalysisServices.RestoreInfo : string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String)

參數

file
String

要還原資訊的檔案名稱。

適用於

RestoreInfo(String, String, Boolean, RestoreLocation[])

使用要還原的檔案、資料庫名稱、覆寫指標,以及還原位置陣列,初始化 RestoreInfo 的新執行個體。

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation())

參數

file
String

要還原資訊的檔案名稱。

databaseName
String

要從中擷取還原資訊的資料庫名稱。

allowOverwrite
Boolean

布林值。 若為 true,即可以覆寫檔案資訊;否則為 false。

locations
RestoreLocation[]

要還原之遠端物件的 RestoreLocations 陣列。

適用於