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.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.AnalysisServices.RestoreInfo
Syntax
[GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public sealed class RestoreInfo
[GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public ref class RestoreInfo sealed
[<Sealed>]
[<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")>]
type RestoreInfo = class end
<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")>
Public NotInheritable Class RestoreInfo
Constructors
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, RestoreLocation[]) | Initializes a new instance of RestoreInfo using a file, database name, overwrite indicator, and an array of restore locations. |
|
RestoreInfo(String, String, Boolean, 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, RestoreLocation[], RestoreSecurity, String) | Initializes a new instance of RestoreInfo using multiple parameters, including password. |
|
RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String) | Initializes a new instance of RestoreInfo using multiple parameters, including password. |
|
RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode) | Initializes a new instance of RestoreInfo using multiple parameters, including password and the read/write mode of the database. |
Properties
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AnalysisServices Namespace
Return to top