Partager via


Méthode PlanGuide.ValidatePlanGuide (DataRow%)

Returns whether the plan guide is valid.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function ValidatePlanGuide ( _
    <OutAttribute> ByRef errorInfo As DataRow _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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

Voir aussi

Référence

PlanGuide Classe

Surcharge ValidatePlanGuide

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Conception et implémentation des repères de plan

Repères de plan