共用方式為


RestorePlan.AddRestoreOperation Method

Definition

Overloads

AddRestoreOperation(BackupSet)

Adds the restore operation.

AddRestoreOperation(List<BackupSet>)

Adds the restore operations.

AddRestoreOperation(BackupSet)

Adds the restore operation.

public void AddRestoreOperation (Microsoft.SqlServer.Management.Smo.BackupSet backupSet);
member this.AddRestoreOperation : Microsoft.SqlServer.Management.Smo.BackupSet -> unit
Public Sub AddRestoreOperation (backupSet As BackupSet)

Parameters

backupSet
BackupSet

The backup set to be restored.

Applies to

AddRestoreOperation(List<BackupSet>)

Adds the restore operations.

public void AddRestoreOperation (System.Collections.Generic.List<Microsoft.SqlServer.Management.Smo.BackupSet> backupSets);
member this.AddRestoreOperation : System.Collections.Generic.List<Microsoft.SqlServer.Management.Smo.BackupSet> -> unit
Public Sub AddRestoreOperation (backupSets As List(Of BackupSet))

Parameters

backupSets
List<BackupSet>

The backup sets.

Applies to