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


Конструктор Restore

Initializes a new instance of the Restore class.

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

Синтаксис

'Декларация
Public Sub New
'Применение
Dim instance As New Restore()
public Restore()
public:
Restore()
new : unit -> Restore
public function Restore()

Замечания

The default constructor initializes any fields to their default values.

Примеры

The following code example demonstrates how to define a new instance of the Restore class.

VB

Dim rs As Restore
rs = New Restore

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore

См. также

Справочник

Restore Класс

Перегрузка Restore

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

Другие ресурсы

RESTORE (Transact-SQL)

Резервное копирование и восстановление баз данных SQL Server