Database.ValidateAllPlanGuides Método
Verifies the validity of the execution plans associated with the database.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function ValidateAllPlanGuides As Boolean
'Uso
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
Valor devuelto
Tipo: System.Boolean
A Boolean value that determines whether all of the execution plans are valid.
Comentarios
If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.
Vea también
Referencia
Sobrecarga de ValidateAllPlanGuides
Espacio de nombres Microsoft.SqlServer.Management.Smo
Otros recursos
sys.fn_validate_plan (Transact-SQL)