Metoda PlanGuide.ValidatePlanGuide (DataRow%)
Zwraca True Jeśli przewodnik planu jest ważny; othewise, False.Zwraca również wiersza tabela danych, zawierający informacje o błędzie.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Function ValidatePlanGuide ( _
<OutAttribute> ByRef errorInfo As DataRow _
) As Boolean
'Użycie
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
Parametry
- errorInfo
Typ: System.Data.DataRow%
DataRow
Wartość zwracana
Typ: System.Boolean
Boolean
Uwagi
Czytając wartość parametru wyjściowego z błędów tabela errorInfo informacji dotyczących przewodnika Plan może zostać oceniony.
Zobacz także