다음을 통해 공유


PipelineComponent.DescribeRedirectedErrorCode 메서드

Provides error code information for a PipelineBuffer row added to an output buffer.

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

구문

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

returnValue = instance.DescribeRedirectedErrorCode(iErrorCode)
public virtual string DescribeRedirectedErrorCode(
    int iErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode(
    int iErrorCode
)
abstract DescribeRedirectedErrorCode : 
        iErrorCode:int -> string  
override DescribeRedirectedErrorCode : 
        iErrorCode:int -> string
public function DescribeRedirectedErrorCode(
    iErrorCode : int
) : String

매개 변수

  • iErrorCode
    유형: System.Int32
    The error code that is described.

반환 값

유형: System.String
The description associated with the error code.

주의

The DescribeRedirectedErrorCode method returns the error descriptions for an error code that a component is sending to an error output. All other error codes should return DTS_E_NOERRORDESCFORCOMPONENT, indicating that the component does not know this error code. For more information, see 데이터 흐름 구성 요소에서 오류 출력 사용.

참고 항목

참조

PipelineComponent 클래스

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