RestorePlan 클래스

Represents a sequence of Database Restore operations which will recover a database to a particular state in a point in time.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.RestorePlan

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)

구문

‘선언
Public Class RestorePlan
‘사용 방법
Dim instance As RestorePlan
public class RestorePlan
public ref class RestorePlan
type RestorePlan =  class end
public class RestorePlan

RestorePlan 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 RestorePlan(Database) Initializes a new instance of the RestorePlan class with specified database.
공용 메서드 RestorePlan(Server) Initializes a new instance of the RestorePlan class with specified server.
공용 메서드 RestorePlan(Server, String) Initializes a new instance of the RestorePlan class with specified server and database name.

맨 위로 이동

속성

  이름 설명
공용 속성 AsyncStatus Gets the status of most recent asynchronous operation including possible errors.
공용 속성 CloseExistingConnections Gets or sets a value indicating whether to close existing connections.
공용 속성 DatabaseName Gets or sets the name of the database.
공용 속성 RestoreAction Gets and sets the type of the Restore action: Database,File,Log,Page.
공용 속성 RestoreOperations Gets or sets the restore operations.
공용 속성 Server Gets or sets the erver where the Restore plan executes.
공용 속성 TailLogBackupOperation Gets or sets the tail log backup operation.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AddRestoreOperation(BackupSet) Adds the restore operation with specified backup set to be restored.
공용 메서드 AddRestoreOperation(List<BackupSet>) Adds the restore operations with specified backup sets..
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Execute Verifies and executes the Restore Plan.
공용 메서드 ExecuteAsync Verifies and executes the Restore Plan async.
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Script Verifies the Restore plan and scripts the operation.
공용 메서드 SetRestoreOptions Sets the restore options.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Verify Verifies the restore plan.

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 Complete Occurs when the restore plan is completed.
공용 이벤트 Information Occurs when the server sends information.
공용 이벤트 NextMedia Occurs when the next media needs to be loaded.
공용 이벤트 NextRestore Occurs when the next restore occurs.
공용 이벤트 PercentComplete Occurs when the server sends percent complete information.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스