共用方式為


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.