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