Udostępnij przez


Metoda IDTSInputColumn100.DescribeRedirectedErrorCode

Zwraca ciąg , który opisuje kod błędu.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw:  Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)

Składnia

'Deklaracja
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
'Użycie
Dim instance As IDTSInputColumn100
Dim hrErrorCode As Integer
Dim returnValue As String

returnValue = instance.DescribeRedirectedErrorCode(hrErrorCode)
string DescribeRedirectedErrorCode(
    int hrErrorCode
)
String^ DescribeRedirectedErrorCode(
    [InAttribute] int hrErrorCode
)
abstract DescribeRedirectedErrorCode : 
        hrErrorCode:int -> string 
function DescribeRedirectedErrorCode(
    hrErrorCode : int
) : String

Parametry

  • hrErrorCode
    Typ: System.Int32
    Kod błędu, w których wiadomość zostanie pobrana.

Wartość zwracana

Typ: System.String
A ciąg zawierający komunikat o błędzie dla określonego errorCode parametru.

Uwagi

Metoda ta jest wywoływana po wierszu skierowane do wyjścia błąd składnika oraz zawiera opis określonego errorCode parametru.