Freigeben über


ValidateAllPlanGuides-Methode

Überprüft die Gültigkeit der Ausführungspläne, die der Datenbank zugeordnet sind.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function ValidateAllPlanGuides As Boolean
'Usage
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

Rückgabewert

Typ: System. . :: . .Boolean
Ein Boolean-Wert, der bestimmt, ob alle Ausführungspläne gültig sind.

Hinweise

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