Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ValidateAllPlanGuides Method (DataTable)
Collapse the table of content
Expand the table of content

Database.ValidateAllPlanGuides Method (DataTable)

Verifies the validity of the execution plans associated with the database and returns validation report.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool ValidateAllPlanGuides(
	out DataTable errorInfo
)

Parameters

errorInfo
Type: DataTable
A reference to DataTable object value that contains detailed information about the validation errors for each execution plan that is associated with the database.

Return Value

Type: Boolean
A Boolean value that determines whether all of the execution plans are valid.

If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.

Community Additions

ADD
Show:
© 2015 Microsoft