Udostępnij przez


Server.Restore Method (String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Deklaracja
Public Sub Restore ( _
    file As String, _
    databaseName As String, _
    allowOverwrite As Boolean, _
    locations As RestoreLocation(), _
    security As RestoreSecurity, _
    password As String, _
    dbStorageLocation As String _
)
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
)
public void Restore (
    String file, 
    String databaseName, 
    boolean allowOverwrite, 
    RestoreLocation[] locations, 
    RestoreSecurity security, 
    String password, 
    String dbStorageLocation
)
public function Restore (
    file : String, 
    databaseName : String, 
    allowOverwrite : boolean, 
    locations : RestoreLocation[], 
    security : RestoreSecurity, 
    password : String, 
    dbStorageLocation : String
)

Parameters

  • file
  • databaseName
  • allowOverwrite
  • locations
  • security
  • password
  • dbStorageLocation

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.