Метод PlanGuide.ValidatePlanGuide (DataRow%)
Returns whether the plan guide is valid.
Пространство имен: 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
Параметры
- errorInfo
Тип: System.Data.DataRow%
the error information.
Возвращаемое значение
Тип: System.Boolean
True if the plan guide is valid; otherwise, false.
Замечания
By reading the value of the out parameter from the errorInfo table error, information regarding the Plan Guide can be evaluated.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo