Share via


PlanGuide.ValidatePlanGuide Method

Indicates whether the plan guide is valid.

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

Syntax

'Declaration
Public Function ValidatePlanGuide As Boolean
'Usage
Dim instance As PlanGuide 
Dim returnValue As Boolean 

returnValue = instance.ValidatePlanGuide()
public bool ValidatePlanGuide()
public:
bool ValidatePlanGuide()
member ValidatePlanGuide : unit -> bool
public function ValidatePlanGuide() : boolean

Return Value

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

See Also

Reference

PlanGuide Class

ValidatePlanGuide Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Plan Guides

Plan Guides