Share via


ReportDocument.VerifyDatabase Method

Checks whether the database connection is active for the report that is loaded by the ReportDocument object.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration
Public Overrideable Sub VerifyDatabase () 
public virtual void VerifyDatabase ()

Remarks

The LogOnException error is thrown when the database connections cannot be established, or when the database logon information is incorrect.

When the database schema changes, the VerifyDatabase method makes the necessary changes, and frees you from having to open the report and manually make those changes.

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 10

See Also

Reference

ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace