Server.Restore Server.Restore Server.Restore Method

Definition

Restores an Analysis Services database from a backup file.

Overloads

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.

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

Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, specifying security settings and storage location.

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

Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, and specifying security settings.

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag, multiple remote servers, and specifying security settings.

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.

Restore(String, String, Boolean) Restore(String, String, Boolean) Restore(String, String, Boolean)

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag.

Restore(String, String) Restore(String, String) Restore(String, String)

Restores an Analysis Services database from a backup file to the specified database.

Restore(String) Restore(String) Restore(String)

Restores an Analysis Services database from a backup file.

Restore(RestoreInfo) Restore(RestoreInfo)

Restores an Analysis Services database from a backup file, using the options set on a RestoreInfo object.

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite, cli::array <Microsoft::AnalysisServices::RestoreLocation ^> ^ locations, Microsoft::AnalysisServices::RestoreSecurity security, System::String ^ password, System::String ^ dbStorageLocation, Microsoft::AnalysisServices::ReadWriteMode readWriteMode);
public void Restore (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation, Microsoft.AnalysisServices.ReadWriteMode readWriteMode);
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocation objects specifying multiple remote servers to restore to.

security
RestoreSecurity RestoreSecurity RestoreSecurity

A RestoreSecurity object that specifies the security settings for the restore.

password
String String String

The password to use to decrypt the restoration file.

dbStorageLocation
String String String

The storage location for the file to restore.

readWriteMode
ReadWriteMode ReadWriteMode ReadWriteMode

The read/write mode of the database.

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

Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, specifying security settings and storage location.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite, cli::array <Microsoft::AnalysisServices::RestoreLocation ^> ^ locations, Microsoft::AnalysisServices::RestoreSecurity security, System::String ^ password, System::String ^ dbStorageLocation);
public void Restore (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation);
Public Sub Restore (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String)
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocation objects specifying multiple remote servers to restore to.

security
RestoreSecurity RestoreSecurity RestoreSecurity

A RestoreSecurity object that specifies the security settings for the restore.

password
String String String

The password to use to decrypt the restoration file.

dbStorageLocation
String String String

The storage location for the file to restore.

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

Restores an Analysis Services database from a backup file to the specified database, given a password, an overwrite flag, multiple remote servers, and specifying security settings.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite, cli::array <Microsoft::AnalysisServices::RestoreLocation ^> ^ locations, Microsoft::AnalysisServices::RestoreSecurity security, System::String ^ password);
public void Restore (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password);
Public Sub Restore (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String)
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocation objects specifying multiple remote servers to restore to.

security
RestoreSecurity RestoreSecurity RestoreSecurity

A RestoreSecurity object that specifies the security settings for the restore.

password
String String String

The password to use to decrypt the restoration file.

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag, multiple remote servers, and specifying security settings.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite, cli::array <Microsoft::AnalysisServices::RestoreLocation ^> ^ locations, Microsoft::AnalysisServices::RestoreSecurity security);
public void Restore (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security);
Public Sub Restore (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity)
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocation objects, specifying multiple remote servers to restore to.

security
RestoreSecurity RestoreSecurity RestoreSecurity

A RestoreSecurity object that specifies the security settings for the restore.

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

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag and multiple remote servers.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite, cli::array <Microsoft::AnalysisServices::RestoreLocation ^> ^ locations);
public void Restore (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations);
Public Sub Restore (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation())
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocation objects, specifying multiple remote servers to restore to.

Restore(String, String, Boolean) Restore(String, String, Boolean) Restore(String, String, Boolean)

Restores an Analysis Services database from a backup file to the specified database, given an overwrite flag.

public:
 void Restore(System::String ^ file, System::String ^ databaseName, bool allowOverwrite);
public void Restore (string file, string databaseName, bool allowOverwrite);
Public Sub Restore (file As String, databaseName As String, allowOverwrite As Boolean)
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

&gt;The database to restore to.

allowOverwrite
Boolean Boolean Boolean

true to indicate that the database will be overwritten, if it exists; otherwise, false.

Restore(String, String) Restore(String, String) Restore(String, String)

Restores an Analysis Services database from a backup file to the specified database.

public:
 void Restore(System::String ^ file, System::String ^ databaseName);
public void Restore (string file, string databaseName);
Public Sub Restore (file As String, databaseName As String)
Parameters
file
String String String

The name and location of the file to restore.

databaseName
String String String

The database to restore to.

Restore(String) Restore(String) Restore(String)

Restores an Analysis Services database from a backup file.

public:
 void Restore(System::String ^ file);
public void Restore (string file);
Public Sub Restore (file As String)
Parameters
file
String String String

The name and location of the file to restore.

Restore(RestoreInfo) Restore(RestoreInfo)

Restores an Analysis Services database from a backup file, using the options set on a RestoreInfo object.

public:
 void Restore(Microsoft::AnalysisServices::RestoreInfo ^ restoreInfo);
public void Restore (Microsoft.AnalysisServices.RestoreInfo restoreInfo);
Parameters
restoreInfo
RestoreInfo RestoreInfo RestoreInfo

The RestoreInfo object containing the options for performing the database restoration.

Applies to