Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Represents the restore options.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.RestoreOptions
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Class RestoreOptions
'Utilisation
Dim instance As RestoreOptions
public class RestoreOptions
public ref class RestoreOptions
type RestoreOptions = class end
public class RestoreOptions
Le type RestoreOptions expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
RestoreOptions | Initializes a new instance of the RestoreOptions class. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
Blocksize | Specifies the physical block size, in bytes. |
![]() |
BufferCount | Specifies the total number of I/O buffers to be used for the restore operation. |
![]() |
ClearSuspectPageTableAfterRestore | Gets or sets whether to delete entries in the suspect page table after restore. |
![]() |
ContinueAfterError | Gets or sets whether the restore operation is to continue after an error is encountered. |
![]() |
KeepReplication | Gets or sets whether to prevent replication settings from being removed when a database backup or log backup is restored on a warm standby server and the database is recovered. |
![]() |
MaxTransferSize | Gets or sets the largest unit of transfer in bytes to be used between the backup media and SQL Server. |
![]() |
PercentCompleteNotification | Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls for individual Restore Operations. |
![]() |
RecoveryState | Gets or sets the recovery state. |
![]() |
ReplaceDatabase | Gets or sets SQL Server should create the specified database and its related files even if another database already exists with the same name |
![]() |
SetRestrictedUser | Gets or sets whether to restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles. |
![]() |
StandByFile | Undo uncommitted transactions, but save the undo actions in a standby file that allows the recovery effects to be reversed. |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)