Share via


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
System_CAPS_pubmethod RestoreInfo()

Initializes a new instance of RestoreInfo using the default values.

System_CAPS_pubmethod RestoreInfo(String)

Initializes a new instance of RestoreInfo using file parameter.

System_CAPS_pubmethod RestoreInfo(String, String)

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

System_CAPS_pubmethod RestoreInfo(String, String, Boolean)

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

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

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

System_CAPS_pubmethod 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.

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

Initializes a new instance of RestoreInfo using multiple parameters, including password.

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

Initializes a new instance of RestoreInfo using multiple parameters, including password.

System_CAPS_pubmethod 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
System_CAPS_pubproperty AllowOverwrite

Gets or sets the AllowOverwrite aspect of RestoreInfo.

System_CAPS_pubproperty DatabaseName

Gets or sets the DatabaseName aspect for a RestoreInfo object.

System_CAPS_pubproperty DatabaseReadWriteMode

Gets or sets the database read/write mode of an Analysis Services database as specified in a RestoreInfo object.

System_CAPS_pubproperty DbStorageLocation

Gets or sets the database storage location.

System_CAPS_pubproperty File

Gets or sets the UNC name of the File to restore.

System_CAPS_pubproperty Locations

Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.

System_CAPS_pubproperty Password

Gets or sets the Password that is required to read the restore file.

System_CAPS_pubproperty Security

Gets or sets the Security definition to apply to roles from the restore file.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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