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 中备份和还原数据库