RestorePlan.AddRestoreOperation Method (BackupSet)
Adds the restore operation with specified backup set to be restored.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Bildirim
Public Sub AddRestoreOperation ( _
backupSet As BackupSet _
)
'Kullanım
Dim instance As RestorePlan
Dim backupSet As BackupSet
instance.AddRestoreOperation(backupSet)
public void AddRestoreOperation(
BackupSet backupSet
)
public:
void AddRestoreOperation(
BackupSet^ backupSet
)
member AddRestoreOperation :
backupSet:BackupSet -> unit
public function AddRestoreOperation(
backupSet : BackupSet
)
Parameters
- backupSet
Type: Microsoft.SqlServer.Management.Smo.BackupSet
The backup set to be restored