Metoda IComponentErrorInfo.GetMessage (Boolean)
Zwraca ciąg zawierający komunikat o błędzie.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Design
Zestaw: Microsoft.SqlServer.Dts.Design (w Microsoft.SqlServer.Dts.Design.dll)
Składnia
'Deklaracja
Function GetMessage ( _
descriptionOnly As Boolean _
) As String
'Użycie
Dim instance As IComponentErrorInfo
Dim descriptionOnly As Boolean
Dim returnValue As String
returnValue = instance.GetMessage(descriptionOnly)
string GetMessage(
bool descriptionOnly
)
String^ GetMessage(
bool descriptionOnly
)
abstract GetMessage :
descriptionOnly:bool -> string
function GetMessage(
descriptionOnly : boolean
) : String
Parametry
- descriptionOnly
Typ: System.Boolean
A wartość logiczna wskazuje, czy komunikat o błędzie jest zwracany tylko wtedy, lub informacje o błędzie komunikat plus składnika i podskładnik.
Wartość zwracana
Typ: System.String
Gdy true, ciąg zawierający komunikat o błędzie.Gdy false, ciąg zawiera informacje o błędach wiadomości, składników i podskładnik.
Zobacz także