Database.ValidateAllPlanGuides Method (DataTable)
Verifies the validity of the execution plans associated with the database and returns validation report.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Public Function ValidateAllPlanGuides ( <OutAttribute> ByRef errorInfo As DataTable ) As Boolean
If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.