パスワードなど複数のパラメータを使用して、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, _
password As String _
)
public RestoreInfo (
string file,
string databaseName,
bool allowOverwrite,
RestoreLocation[] locations,
RestoreSecurity security,
string password
)
public:
RestoreInfo (
String^ file,
String^ databaseName,
bool allowOverwrite,
array<RestoreLocation^>^ locations,
RestoreSecurity security,
String^ password
)
public RestoreInfo (
String file,
String databaseName,
boolean allowOverwrite,
RestoreLocation[] locations,
RestoreSecurity security,
String password
)
public function RestoreInfo (
file : String,
databaseName : String,
allowOverwrite : boolean,
locations : RestoreLocation[],
security : RestoreSecurity,
password : String
)
パラメータ
- file
情報を復元するファイルの名前です。
- databaseName
復元する情報を抽出するデータベースの名前です。
- allowOverwrite
Boolean 値です。情報を上書きできる場合は true、上書きできない場合は false です。
- locations
復元するリモート オブジェクトの RestoreLocations の配列です。
- security
復元される Roles オブジェクトに何が行われるかを指定する RestoreSecurity 列挙値です。
- password
復元ファイルの読み取りに必要なパスワードとなる文字列です。
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
RestoreInfo Class
RestoreInfo Members
Microsoft.AnalysisServices Namespace