Database.ValidateAllPlanGuides Method (DataTable)
SQL Server 2012
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)
'Declaration Public Function ValidateAllPlanGuides ( _ <OutAttribute> ByRef errorInfo As DataTable _ ) As Boolean 'Usage Dim instance As Database Dim errorInfo As DataTable Dim returnValue As Boolean returnValue = instance.ValidateAllPlanGuides(errorInfo)
Parameters
- errorInfo
- Type: System.Data.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: System.BooleanA Boolean value that determines whether all of the execution plans are valid.
