다음을 통해 공유


ValidatePlanGuide 메서드 (DataRow)

Returns True if a plan guide is valid; othewise, False. Also returns a data table row that contains error information.

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

구문

‘선언
Public Function ValidatePlanGuide ( _
    <OutAttribute> ByRef errorInfo As DataRow _
) As Boolean
‘사용 방법
Dim instance As PlanGuide
Dim errorInfo As DataRow
Dim returnValue As Boolean

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

매개 변수

반환 값

유형: System. . :: . .Boolean
Boolean

주의

By reading the value of the out parameter from the errorInfo table error, information regarding the Plan Guide can be evaluated.