Freigeben über


PlanGuide.ValidatePlanGuide-Methode (DataRow%)

Returns 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 ( _
    <OutAttribute> ByRef errorInfo As DataRow _
) As Boolean
'Usage
Dim instance As PlanGuide 
Dim errorInfo As DataRow 
Dim returnValue As Boolean 

returnValue = instance.ValidatePlanGuide(errorInfo)
public bool ValidatePlanGuide(
    out DataRow errorInfo
)
public:
bool ValidatePlanGuide(
    [OutAttribute] DataRow^% errorInfo
)
member ValidatePlanGuide : 
        errorInfo:DataRow byref -> bool
public function ValidatePlanGuide(
    errorInfo : DataRow
) : boolean

Parameter

Rückgabewert

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

Hinweise

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

Siehe auch

Verweis

PlanGuide Klasse

ValidatePlanGuide-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Entwerfen und Implementieren von Planhinweislisten

Planhinweislisten