Database.ValidateAllPlanGuides Method (DataTable)
Verifies the validity of the execution plans associated with the database and returns validation report.
Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
No code example is currently available or this language may not be supported.
A reference to DataTable object value that contains detailed information about the validation errors for each execution plan that is associated with the database.
A Boolean value that determines whether all of the execution plans are valid.
Return to top
If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.