Partager via


Restore.SqlVerifyLatest Method

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.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

Nom Description
Restore.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.
Restore.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.
Restore.SqlVerifyLatest (Server, out 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.
Restore.SqlVerifyLatest (Server, SqlVerifyAction, out 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.

Voir aussi

Référence

Restore Class
Restore Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Backing Up and Restoring Databases and Transaction Logs
RESTORE (Transact-SQL)
Sauvegarde et restauration de bases de données dans SQL Server