다음을 통해 공유


ValidateAllPlanGuides 메서드 (DataTable)

데이터베이스와 연결된 실행 계획의 유효성을 확인하고 유효성 검사 보고서를 반환합니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function ValidateAllPlanGuides ( _
    <OutAttribute> ByRef errorInfo As DataTable _
) As Boolean
‘사용 방법
Dim instance As Database
Dim errorInfo As DataTable
Dim returnValue As Boolean

returnValue = instance.ValidateAllPlanGuides(errorInfo)
public bool ValidateAllPlanGuides(
    out DataTable errorInfo
)
public:
bool ValidateAllPlanGuides(
    [OutAttribute] DataTable^% errorInfo
)
member ValidateAllPlanGuides : 
        errorInfo:DataTable byref -> bool 
public function ValidateAllPlanGuides(
    errorInfo : DataTable
) : boolean

매개 변수

  • errorInfo
    유형: System.Data. . :: . .DataTable%
    데이터베이스에 연결된 각 실행 계획에 대한 유효성 검사 오류와 관련한 세부 정보를 포함하는 DataTable 개체 값에 대한 참조입니다.

반환 값

유형: System. . :: . .Boolean
모든 실행 계획이 올바른지 여부를 결정하는 Boolean 값입니다.

주의

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