Export (0) Print
Expand All

PlanGuide.ValidatePlanGuide Method (DataRow)

Returns whether the plan guide is valid.

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

public bool ValidatePlanGuide(
	out DataRow errorInfo
)

Parameters

errorInfo
Type: DataRow
the error information.

Return Value

Type: Boolean
True if the plan guide is valid; otherwise, false.

By reading the value of the out parameter from the errorInfo table error, information regarding the Plan Guide can be evaluated.

Community Additions

ADD
Show:
© 2015 Microsoft