Server.Restore Method (String, String, Boolean, RestoreLocation )
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
)
public:
void Restore(
String^ file,
String^ databaseName,
bool allowOverwrite,
array<RestoreLocation^>^ locations
)
member Restore :
file:string *
databaseName:string *
allowOverwrite:bool *
locations:RestoreLocation[] -> unit
Public Sub Restore (
file As String,
databaseName As String,
allowOverwrite As Boolean,
locations As RestoreLocation()
)
Parameters
- file
Type: System.String
- databaseName
Type: System.String
- allowOverwrite
Type: System.Boolean
- locations
Type: Microsoft.AnalysisServices.RestoreLocation[]
See Also
Restore Overload
Server Class
Microsoft.AnalysisServices Namespace
Return to top