Share via


Database.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.

참고 항목

참조

Database 클래스

ValidateAllPlanGuides 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

sys.fn_validate_plan (Transact-SQL)

계획 지침