Server.Restore Method (String, String, Boolean, RestoreLocation , RestoreSecurity, String, String)
Applies To: SQL Server 2016 Preview
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public void Restore(
string file,
string databaseName,
bool allowOverwrite,
RestoreLocation[] locations,
RestoreSecurity security,
string password,
string dbStorageLocation
)
public:
void Restore(
String^ file,
String^ databaseName,
bool allowOverwrite,
array<RestoreLocation^>^ locations,
RestoreSecurity security,
String^ password,
String^ dbStorageLocation
)
member Restore :
file:string *
databaseName:string *
allowOverwrite:bool *
locations:RestoreLocation[] *
security:RestoreSecurity *
password:string *
dbStorageLocation:string -> unit
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
Type: System.String
- databaseName
Type: System.String
- allowOverwrite
Type: System.Boolean
- locations
Type: Microsoft.AnalysisServices.RestoreLocation[]
- security
Type: Microsoft.AnalysisServices.RestoreSecurity
- password
Type: System.String
- dbStorageLocation
Type: System.String
See Also
Restore Overload
Server Class
Microsoft.AnalysisServices Namespace
Return to top