Dela via


RestoreInfo Constructor (String, String)

Initializes a new instance of RestoreInfo using a file and database name.

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

Syntax

'Declaration
Public Sub New ( _
    file As String, _
    databaseName As String _
)
'Usage
Dim file As String
Dim databaseName As String

Dim instance As New RestoreInfo(file, databaseName)
public RestoreInfo(
    string file,
    string databaseName
)
public:
RestoreInfo(
    String^ file, 
    String^ databaseName
)
new : 
        file:string * 
        databaseName:string -> RestoreInfo
public function RestoreInfo(
    file : String, 
    databaseName : String
)

Parameters

  • file
    Type: System.String
    Name of the file for which information is to be restored.
  • databaseName
    Type: System.String
    Name of the database from which to extract the information to be restored.