다음을 통해 공유


Restore 멤버

The Restore object provides programmatic access to restore operations.

Restore 형식은 다음 멤버를 노출합니다.

생성자

  이름 설명
공용 메서드 Restore Initializes a new instance of the Restore class.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Abort Terminates a running backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 메서드 ClearSuspectPageTable Deletes entries in the suspect page table.
공용 메서드 Equals (Object에서 상속됩니다.)
보호된 메서드 ExecuteSql Executes a batch of Transact-SQL statements that does not expect a returned results set on the specified instance of SQL Server. (BackupRestoreBase에서 상속됩니다.)
보호된 메서드 ExecuteSqlAsync Executes a batch of Transact-SQL statements asynchronously that does not expect a returned results set on the specified instance of SQL Server. (BackupRestoreBase에서 상속됩니다.)
보호된 메서드 ExecuteSqlWithResults Executes a batch of Transact-SQL statements that expects one or more returned results sets on the specified instance of SQL Server. (BackupRestoreBase에서 상속됩니다.)
보호된 메서드 Finalize (Object에서 상속됩니다.)
보호된 메서드 GetDevicesScript (BackupRestoreBase에서 상속됩니다.)
공용 메서드 GetHashCode (Object에서 상속됩니다.)
공용 메서드 GetType (Object에서 상속됩니다.)
보호된 메서드 IsStringValid Verifies whether the specified string is valid. (BackupRestoreBase에서 상속됩니다.)
보호된 메서드 MemberwiseClone (Object에서 상속됩니다.)
공용 메서드 ReadBackupHeader Reads the backup header and returns information about the media contents.
공용 메서드 ReadFileList Returns the list of database files on the targeted media.
공용 메서드 ReadMediaHeader Reads the media header and returns the media header values.
공용 메서드 ReadSuspectPageTable Returns the suspect page table for the targeted instance of SQL Server. 
공용 메서드 Script Generates a Transact-SQL script that can be used to re-create the restore operation. 
공용 메서드 SetMediaPassword(SecureString) Sets the password for a media set. (BackupRestoreBase에서 상속됩니다.)
공용 메서드 SetMediaPassword(String) Sets the password for a media set. (BackupRestoreBase에서 상속됩니다.)
공용 메서드 SetPassword(SecureString) Sets the password for a backup set. (BackupRestoreBase에서 상속됩니다.)
공용 메서드 SetPassword(String) Sets the password for a backup set. (BackupRestoreBase에서 상속됩니다.)
공용 메서드 SqlRestore Performs a restore operation.
공용 메서드 SqlRestoreAsync Performs a restore operation asynchronously.
공용 메서드 SqlVerify(Server) Checks the media on the instance of SQL Server that is represented by the specified Server object. 
공용 메서드 SqlVerify(Server, Boolean) Checks the media on instance of SQL Server that is represented by the specified Server object and loads backup history information into the history tables.
공용 메서드 SqlVerify(Server, String%) Checks the media on the instance of SQL Server that is represented by the specified Server object and returns an error message.
공용 메서드 SqlVerify(Server, Boolean, String%) Checks the media on the instance of SQL Server that is represented by the specified Server object, loads backup history information into the history tables, and returns an error message.
공용 메서드 SqlVerifyAsync(Server) Checks the media on the instance of SQL Server that is represented by the specified Server object asynchronously.
공용 메서드 SqlVerifyAsync(Server, Boolean) Checks the media on the instance of SQL Server that is represented by the specified Server object asynchronously and loads backup history information into the history tables.
공용 메서드 SqlVerifyLatest(Server) Verifies the most recent backup but does not restore it, and checks to see that the backup set is complete and the entire backup is readable.
공용 메서드 SqlVerifyLatest(Server, SqlVerifyAction) Verifies the most recent backup with the specified action, and checks to see that the backup set is complete and the entire backup is readable.
공용 메서드 SqlVerifyLatest(Server, String%) Verifies the most recent backup but does not restore it, checks to see that the backup set is complete and the entire backup is readable, and returns an error message.
공용 메서드 SqlVerifyLatest(Server, SqlVerifyAction, String%) Verifies the most recent backup with the specified action, checks to see that the backup set is complete and the entire backup is readable, and returns an error message.
공용 메서드 ToString (Object에서 상속됩니다.)
공용 메서드 Wait Waits for the current backup or restore operation to complete before moving on to the next process. (BackupRestoreBase에서 상속됩니다.)

맨 위로 이동

필드

  이름 설명
보호된 필드 currentAsyncOperation (BackupRestoreBase에서 상속됩니다.)
보호된 필드 m_BackupAction (BackupRestoreBase에서 상속됩니다.)
보호된 필드 m_LogTruncation (BackupRestoreBase에서 상속됩니다.)
보호된 필드 m_RestoreAction (BackupRestoreBase에서 상속됩니다.)
공용 필드 VerifyComplete Specifies the VerifyCompleteEventHandler.

맨 위로 이동

속성

  이름 설명
공용 속성 Action Gets or sets the type of restore to be performed.
공용 속성 AsyncStatus Gets the asynchronous status of a backup or restore process. (BackupRestoreBase에서 상속됩니다.)
공용 속성 BlockSize Gets or sets the physical block size of the backup or restore, in bytes. (BackupRestoreBase에서 상속됩니다.)
공용 속성 BufferCount Gets or sets the total number of I/O buffers to be used for the backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 속성 Checksum Gets or sets a Boolean property value that determines whether a checksum value is calculated during backup or restore operations. (BackupRestoreBase에서 상속됩니다.)
공용 속성 ClearSuspectPageTableAfterRestore Gets or sets a Boolean value that determines whether entries in the suspect page table will be deleted following the restore operation.
공용 속성 ContinueAfterError Gets or sets a Boolean property value that determines whether the backup or restore continues after a checksum error occurs. (BackupRestoreBase에서 상속됩니다.)
공용 속성 Database Gets or sets the database on which the backup or restore operation runs. (BackupRestoreBase에서 상속됩니다.)
공용 속성 DatabaseFileGroups Gets the SQL Server file groups targeted by the backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 속성 DatabaseFiles Gets the operating system files targeted by the backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 속성 Devices Gets the backup devices specified for the backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 속성 FileNumber Gets or sets the index number used to identify the targeted backup set on the backup medium.
공용 속성 KeepReplication Gets or sets a Boolean property value that specifies whether to maintain a replication configuration during a restore operation.
공용 속성 MaxTransferSize Gets or sets the maximum number of bytes to be transferred between the backup media and the instance of SQL Server. (BackupRestoreBase에서 상속됩니다.)
공용 속성 MediaName Gets or sets the name used to identify a particular media set. (BackupRestoreBase에서 상속됩니다.)
공용 속성 NoRecovery Gets or sets a Boolean property value that determines whether the tail of the log is backed up and whether the database is restored into the Restoring state. (BackupRestoreBase에서 상속됩니다.)
공용 속성 NoRewind Gets or sets a Boolean property value that determines whether Microsoft SQL Server will keep the tape open after the backup or restore operation. (BackupRestoreBase에서 상속됩니다.)
공용 속성 Offset Gets or sets the array of page addresses to be restored.
공용 속성 Partial Gets or sets a Boolean property value that specifies whether a partial or full restore operation will be performed.
공용 속성 PercentCompleteNotification Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls. (BackupRestoreBase에서 상속됩니다.)
공용 속성 RelocateFiles Gets or sets the array of database logical file names and operating system physical file names used to redirect database storage when a database is restored to a new physical location.
공용 속성 ReplaceDatabase Gets or sets a Boolean value that specifies whether a restore operation creates a new image of the restored database.
공용 속성 Restart Gets or sets a Boolean property value that determines whether the backup or restore operation will restart if it is interrupted. (BackupRestoreBase에서 상속됩니다.)
공용 속성 RestrictedUser Gets or sets a Boolean property value that specifies whether access to the restored database is restricted to members of the db_owner fixed database role and the dbcreator and sysadmin fixed server roles.
공용 속성 StandbyFile Gets or sets the name of an undo file that is used as part of the imaging strategy for an instance of SQL Server.
공용 속성 StopAtMarkAfterDate Gets or sets the date to be used in conjunction with the mark name specified by StopAtMarkName to determine the stopping point of the recovery operation.
공용 속성 StopAtMarkName Gets or sets the mark name to be used in conjunction with the date specified by StopAtMarkAfterDate to determine the stopping point of the recovery operation.
공용 속성 StopBeforeMarkAfterDate Gets or sets the date to be used in conjunction with the mark name specified by StopBeforeMarkName to determine the stopping point of the recovery operation.
공용 속성 StopBeforeMarkName Gets or sets the mark name to be used in conjunction with the date specified by StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.
공용 속성 ToPointInTime Gets or sets the endpoint for database log restoration.
공용 속성 UnloadTapeAfter Gets or sets a Boolean property value that determines whether tape media are rewound and unloaded after the backup or restore operation completes. (BackupRestoreBase에서 상속됩니다.)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 Complete Occurs when the backup or restore operation completes. (BackupRestoreBase에서 상속됩니다.)
공용 이벤트 Information Occurs when any informational message is issued by Microsoft SQL Server that cannot be handled by the Complete NextMedia or PercentComplete events. (BackupRestoreBase에서 상속됩니다.)
공용 이벤트 NextMedia Occurs when the backup or restore operation exhausts the medium in a target device. (BackupRestoreBase에서 상속됩니다.)
공용 이벤트 PercentComplete Occurs when a backup or restore operation reaches a completion unit. (BackupRestoreBase에서 상속됩니다.)

맨 위로 이동