Méthode ValidateAllPlanGuides
Vérifie la validité des plans d'exécution associés à la base de données.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function ValidateAllPlanGuides As Boolean
'Utilisation
Dim instance As Database
Dim returnValue As Boolean
returnValue = instance.ValidateAllPlanGuides()
public bool ValidateAllPlanGuides()
public:
bool ValidateAllPlanGuides()
member ValidateAllPlanGuides : unit -> bool
public function ValidateAllPlanGuides() : boolean
Valeur de retour
Type : System. . :: . .Boolean
Valeur Boolean qui détermine si tous les plans d'exécution sont valides.
Notes
If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.
Voir aussi
Référence
Autres ressources
sys.fn_validate_plan (Transact-SQL)