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.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 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.

請參閱

參考

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

其他資源

Backing Up and Restoring Databases and Transaction Logs
RESTORE (Transact-SQL)
在 SQL Server 中備份和還原資料庫