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 네임스페이스