Restore.SqlVerify Method

Checks the media on the Microsoft SQL Server instance represented by the specified Server object.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Restore.SqlVerify (Server)
Checks the media on the Microsoft SQL Server instance represented by the specified Server object.
Restore.SqlVerify (Server, Boolean)
Checks the media on the Microsoft SQL Server instance represented by the specified Server object and loads backup history information into the history tables.
Restore.SqlVerify (Server, out String)
Checks the media on the SQL Server instance represented by the specified Server object and returns an error message.
Restore.SqlVerify (Server, Boolean, out String)
Checks the media on the Microsoft SQL Server instance represented by the specified Server object, loads backup history information into the history tables, 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 中备份和还原数据库