RestoreInfo Class
Applies To: SQL Server (starting with 2016)
Represents the information required to process a file or database restoration. This class cannot be inherited.
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
| Name | Description | |
|---|---|---|
![]() | RestoreInfo() | Initializes a new instance of RestoreInfo using the default values. |
![]() | RestoreInfo(String^) | Initializes a new instance of RestoreInfo using file parameter. |
![]() | RestoreInfo(String^, String^) | Initializes a new instance of RestoreInfo using a file and database name. |
![]() | RestoreInfo(String^, String^, Boolean) | Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator. |
![]() | RestoreInfo(String^, String^, Boolean, array<RestoreLocation^>^) | Initializes a new instance of RestoreInfo using a file, database name, overwrite indicator, and an array of restore locations. |
![]() | RestoreInfo(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity) | Initializes a new instance of RestoreInfo using a file, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored. |
![]() | RestoreInfo(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^) | Initializes a new instance of RestoreInfo using multiple parameters, including password. |
![]() | RestoreInfo(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^, String^) | Initializes a new instance of RestoreInfo using multiple parameters, including password. |
![]() | RestoreInfo(String^, String^, Boolean, array<RestoreLocation^>^, RestoreSecurity, String^, String^, ReadWriteMode) | Initializes a new instance of RestoreInfo using multiple parameters, including password and the read/write mode of the database. |
| Name | Description | |
|---|---|---|
![]() | AllowOverwrite | Gets or sets the AllowOverwrite aspect of RestoreInfo. |
![]() | DatabaseName | Gets or sets the DatabaseName aspect for a RestoreInfo object. |
![]() | DatabaseReadWriteMode | Gets or sets the database read/write mode of an Analysis Services database as specified in a RestoreInfo object. |
![]() | DbStorageLocation | Gets or sets the database storage location. |
![]() | File | Gets or sets the UNC name of the File to restore. |
![]() | Locations | Gets a RestoreLocationCollection object with the locations of the remote partitions to restore. |
![]() | Password | Gets or sets the Password that is required to read the restore file. |
![]() | Security | Gets or sets the Security definition to apply to roles from the restore file. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

