RestoreInfo Class

Represents the information required to process a file or database restoration. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.RestoreInfo

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

Syntax

'Declaration
<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")> _
Public NotInheritable Class RestoreInfo
'Usage
Dim instance As RestoreInfo
[GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public sealed class RestoreInfo
[GuidAttribute(L"F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public ref class RestoreInfo sealed
[<SealedAttribute>]
[<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")>]
type RestoreInfo =  class end
public final class RestoreInfo

The RestoreInfo type exposes the following members.

Constructors

  Name Description
Public method RestoreInfo() Initializes a new instance of RestoreInfo using the default values.
Public method RestoreInfo(String) Initializes a new instance of RestoreInfo using file parameter.
Public method RestoreInfo(String, String) Initializes a new instance of RestoreInfo using a file and database name.
Public method RestoreInfo(String, String, Boolean) Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator.
Public method 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.
Public method 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.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[], RestoreSecurity, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[], RestoreSecurity, String, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.

Top

Properties

  Name Description
Public property AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
Public property DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
Public property DbStorageLocation Gets or sets the database storage location.
Public property File Gets or sets the UNC name of the File to restore.
Public property Locations Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.
Public property Password Gets or sets the Password that is required to read the restore file.
Public property Security Gets or sets the Security definition to apply to roles from the restore file.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.AnalysisServices Namespace