Export (0) Print
Expand All

RestorePlan Class

 

Applies To: SQL Server 2016 Preview

Represents a sequence of Database Restore operations which will recover a database to a particular state in a point in time.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

System::Object
  Microsoft.SqlServer.Management.Smo::RestorePlan

public ref class RestorePlan 

NameDescription
System_CAPS_pubmethodRestorePlan(Database^)

Initializes a new instance of the RestorePlan class with specified database.

System_CAPS_pubmethodRestorePlan(Server^)

Initializes a new instance of the RestorePlan class with specified server.

System_CAPS_pubmethodRestorePlan(Server^, String^)

Initializes a new instance of the RestorePlan class with specified server and database name.

NameDescription
System_CAPS_pubpropertyAsyncStatus

Gets the status of most recent asynchronous operation including possible errors.

System_CAPS_pubpropertyCloseExistingConnections

Gets or sets a value indicating whether to close existing connections.

System_CAPS_pubpropertyDatabaseName

Gets or sets the name of the database.

System_CAPS_pubpropertyRestoreAction

Gets and sets the type of the Restore action: Database,File,Log,Page.

System_CAPS_pubpropertyRestoreOperations

Gets or sets the restore operations.

System_CAPS_pubpropertyServer

Gets or sets the erver where the Restore plan executes.

System_CAPS_pubpropertyTailLogBackupOperation

Gets or sets the tail log backup operation.

NameDescription
System_CAPS_pubmethodAddRestoreOperation(BackupSet^)

Adds the restore operation with specified backup set to be restored.

System_CAPS_pubmethodAddRestoreOperation(List<BackupSet^>^)

Adds the restore operations with specified backup sets..

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Verifies and executes the Restore Plan.

System_CAPS_pubmethodExecuteAsync()

Verifies and executes the Restore Plan async.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodScript()

Verifies the Restore plan and scripts the operation.

System_CAPS_pubmethodSetRestoreOptions(RestoreOptions^)

Sets the restore options.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodVerify(Boolean)

Verifies the restore plan.

NameDescription
System_CAPS_pubeventComplete

Occurs when the restore plan is completed.

System_CAPS_pubeventInformation

Occurs when the server sends information.

System_CAPS_pubeventNextMedia

Occurs when the next media needs to be loaded.

System_CAPS_pubeventNextRestore

Occurs when the next restore occurs.

System_CAPS_pubeventPercentComplete

Occurs when the server sends percent complete information.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft