Freigeben über


RestoreInfo Constructors

Definition

Overloads

RestoreInfo()

Initializes a new instance of RestoreInfo using the default values.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, and the read/write mode of the database.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, and the database storage location.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, and password.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, the read/write mode of the database and incompatibilities indicator.

RestoreInfo(String, String, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name, and overwrite indicator.

RestoreInfo(String, String)

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

RestoreInfo(String)

Initializes a new instance of RestoreInfo using the file to restore.

RestoreInfo(String, String, Boolean, RestoreLocation[])

Initializes a new instance of RestoreInfo using the file to restore, database name, overwrite indicator, and an array of restore locations.

RestoreInfo()

Initializes a new instance of RestoreInfo using the default values.

public RestoreInfo ();
Public Sub New ()

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, and the read/write mode of the database.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation, Microsoft.AnalysisServices.ReadWriteMode readWriteMode);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string * Microsoft.AnalysisServices.ReadWriteMode -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String, readWriteMode As ReadWriteMode)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

security
RestoreSecurity

A RestoreSecurity enumeration value that specifies what is going to happen to the Roles objects being restored.

password
String

A string with the password that is required to read the restored file.

dbStorageLocation
String

The location of the database storage.

readWriteMode
ReadWriteMode

An enumeration that describes the read/write state of the database.

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, and the database storage location.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

security
RestoreSecurity

A RestoreSecurity enumeration value that specifies what is going to happen to the Roles objects being restored.

password
String

A string with the password that is required to read the restored file.

dbStorageLocation
String

The location of the database storage.

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, and password.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

security
RestoreSecurity

A RestoreSecurity enumeration value that specifies what is going to happen to the Roles objects being restored.

password
String

A string with the password that is required to read the restored file.

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

security
RestoreSecurity

A RestoreSecurity enumeration value that specifies what is going to happen to the Roles objects being restored.

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, the read/write mode of the database and incompatibilities indicator.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations, Microsoft.AnalysisServices.RestoreSecurity security, string password, string dbStorageLocation, Microsoft.AnalysisServices.ReadWriteMode readWriteMode, bool ignoreIncompatibilities);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] * Microsoft.AnalysisServices.RestoreSecurity * string * string * Microsoft.AnalysisServices.ReadWriteMode * bool -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation(), security As RestoreSecurity, password As String, dbStorageLocation As String, readWriteMode As ReadWriteMode, ignoreIncompatibilities As Boolean)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

security
RestoreSecurity

A RestoreSecurity enumeration value that specifies what is going to happen to the Roles objects being restored.

password
String

A string with the password that is required to read the restored file.

dbStorageLocation
String

The location of the database storage.

readWriteMode
ReadWriteMode

An enumeration that describes the read/write state of the database.

ignoreIncompatibilities
Boolean

Whether or not to ignore model incompatibilities during restore.

Applies to

RestoreInfo(String, String, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name, and overwrite indicator.

public RestoreInfo (string file, string databaseName, bool allowOverwrite);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

Applies to

RestoreInfo(String, String)

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

public RestoreInfo (string file, string databaseName);
new Microsoft.AnalysisServices.RestoreInfo : string * string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String)

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

Applies to

RestoreInfo(String)

Initializes a new instance of RestoreInfo using the file to restore.

public RestoreInfo (string file);
new Microsoft.AnalysisServices.RestoreInfo : string -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String)

Parameters

file
String

Name of the file for which information is to be restored.

Applies to

RestoreInfo(String, String, Boolean, RestoreLocation[])

Initializes a new instance of RestoreInfo using the file to restore, database name, overwrite indicator, and an array of restore locations.

public RestoreInfo (string file, string databaseName, bool allowOverwrite, Microsoft.AnalysisServices.RestoreLocation[] locations);
new Microsoft.AnalysisServices.RestoreInfo : string * string * bool * Microsoft.AnalysisServices.RestoreLocation[] -> Microsoft.AnalysisServices.RestoreInfo
Public Sub New (file As String, databaseName As String, allowOverwrite As Boolean, locations As RestoreLocation())

Parameters

file
String

Name of the file for which information is to be restored.

databaseName
String

Name of the database from which to extract the information to be restored.

allowOverwrite
Boolean

A Boolean value. If true, the file information can be overwritten; otherwise, false.

locations
RestoreLocation[]

An array of RestoreLocations for the remote objects to restored.

Applies to