다음을 통해 공유


PipelineComponent.GetErrorOutputInfo 메서드

Returns the index and ID of the error output of the component.

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

구문

‘선언
Public Function GetErrorOutputInfo ( _
    ByRef iErrorOutputID As Integer, _
    ByRef iErrorOutputIndex As Integer _
) As Boolean
‘사용 방법
Dim instance As PipelineComponent 
Dim iErrorOutputID As Integer 
Dim iErrorOutputIndex As Integer 
Dim returnValue As Boolean 

returnValue = instance.GetErrorOutputInfo(iErrorOutputID, _
    iErrorOutputIndex)
public bool GetErrorOutputInfo(
    ref int iErrorOutputID,
    ref int iErrorOutputIndex
)
public:
bool GetErrorOutputInfo(
    int% iErrorOutputID, 
    int% iErrorOutputIndex
)
member GetErrorOutputInfo : 
        iErrorOutputID:int byref * 
        iErrorOutputIndex:int byref -> bool
public function GetErrorOutputInfo(
    iErrorOutputID : int, 
    iErrorOutputIndex : int
) : boolean

매개 변수

반환 값

유형: System.Boolean
true if the component has an IDTSOutput100 object with the IsErrorOut property set to true; otherwise, false.

주의

GetErrorOutputInfo is a helper function provided by the base class that retrieves the error output of the component. If the component does not have an error output, the method returns false.

For more information, see 데이터 흐름 구성 요소에서 오류 출력 사용.

참고 항목

참조

PipelineComponent 클래스

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