Поделиться через


Метод ValidateAllPlanGuides

Verifies the validity of the execution plans associated with the database.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function ValidateAllPlanGuides As Boolean
'Применение
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

Возвращаемое значение

Тип System. . :: . .Boolean
A Boolean value that determines whether all of the execution plans are valid.

Замечания

If the method is unsuccessful, you can run the method again with the output parameter that contains detailed information about each execution plan.