Поделиться через


Конструктор Restore (String, BackupSet)

Initializes a new instance of the Restore class with specified destination database name and backup set.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Sub New ( _
    DestinationDatabaseName As String, _
    backupSet As BackupSet _
)
'Применение
Dim DestinationDatabaseName As String 
Dim backupSet As BackupSet 

Dim instance As New Restore(DestinationDatabaseName, _
    backupSet)
public Restore(
    string DestinationDatabaseName,
    BackupSet backupSet
)
public:
Restore(
    String^ DestinationDatabaseName, 
    BackupSet^ backupSet
)
new : 
        DestinationDatabaseName:string * 
        backupSet:BackupSet -> Restore
public function Restore(
    DestinationDatabaseName : String, 
    backupSet : BackupSet
)

Параметры

  • DestinationDatabaseName
    Тип: System.String
    The name of the database to be restored.

См. также

Справочник

Restore Класс

Перегрузка Restore

Пространство имен Microsoft.SqlServer.Management.Smo