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 命名空间