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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.