RestoreInfo コンストラクター (String, String, Boolean, array<RestoreLocation , RestoreSecurity)

ファイル名、データベース名、上書きインジケーター、復元場所の配列、および復元するロールのセキュリティ定義を使用して、RestoreInfo の新しいインスタンスを初期化します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub New ( _
    file As String, _
    databaseName As String, _
    allowOverwrite As Boolean, _
    locations As RestoreLocation(), _
    security As RestoreSecurity _
)
'使用
Dim file As String 
Dim databaseName As String 
Dim allowOverwrite As Boolean 
Dim locations As RestoreLocation()
Dim security As RestoreSecurity 

Dim instance As New RestoreInfo(file, databaseName, _
    allowOverwrite, locations, security)
public RestoreInfo(
    string file,
    string databaseName,
    bool allowOverwrite,
    RestoreLocation[] locations,
    RestoreSecurity security
)
public:
RestoreInfo(
    String^ file, 
    String^ databaseName, 
    bool allowOverwrite, 
    array<RestoreLocation^>^ locations, 
    RestoreSecurity security
)
new : 
        file:string * 
        databaseName:string * 
        allowOverwrite:bool * 
        locations:RestoreLocation[] * 
        security:RestoreSecurity -> RestoreInfo
public function RestoreInfo(
    file : String, 
    databaseName : String, 
    allowOverwrite : boolean, 
    locations : RestoreLocation[], 
    security : RestoreSecurity
)

パラメーター

  • file
    型: System.String
    情報を復元するファイルの名前です。
  • databaseName
    型: System.String
    復元する情報を抽出するデータベースの名前です。
  • allowOverwrite
    型: System.Boolean
    Boolean 値です。 情報を上書きできる場合は true、上書きできない場合は false です。

関連項目

参照

RestoreInfo クラス

RestoreInfo オーバーロード

Microsoft.AnalysisServices 名前空間