다음을 통해 공유


IDTSDesigntimeComponent100.DescribeRedirectedErrorCode 메서드

Returns the description of the specified error code.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
‘사용 방법
Dim instance As IDTSDesigntimeComponent100 
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

매개 변수

  • hrErrorCode
    유형: System.Int32
    The error code whose descriptive string is retrieved.

반환 값

유형: System.String
The description of the error code.

주의

This method is called to retrieve the description of an error code that is provided by the component when the component directs a row to an error output. The data flow task calls this method to get the string associated with the error code.

참고 항목

참조

IDTSDesigntimeComponent100 인터페이스

Microsoft.SqlServer.Dts.Pipeline.Wrapper 네임스페이스