다음을 통해 공유


CManagedComponentWrapperClass.DescribeRedirectedErrorCode 메서드

Returns the description of an error code defined by the component.

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

구문

‘선언
Public Overridable Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
‘사용 방법
Dim instance As CManagedComponentWrapperClass 
Dim hrErrorCode As Integer 
Dim returnValue As String 

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

매개 변수

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

반환 값

유형: System.String
A String that contains a description for the error code specified by the errorCode parameter.

구현

IDTSDesigntimeComponent100.DescribeRedirectedErrorCode(Int32)

주의

This method is called during component execution to retrieve a description of the error code provided by the component when a row from an IDTSBuffer100 was redirected to the error output of the component.

참고 항목

참조

CManagedComponentWrapperClass 클래스

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