PipelineComponent.GetErrorOutputInfo メソッド

コンポーネントのエラー出力のインデックスと ID を返します。

名前空間:  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

パラメーター

  • iErrorOutputID
    型: System.Int32%
    メソッドが IDTSOutput100 エラーを返した場合にそのエラーの ID を表します。
  • iErrorOutputIndex
    型: System.Int32%
    メソッドが IDTSOutput100 エラーを返した場合にそのエラーのインデックスを表します。

戻り値

型: System.Boolean
コンポーネントに IsErrorOut プロパティが true に設定された IDTSOutput100 オブジェクトがある場合は true、そうでない場合は false です。

説明

GetErrorOutputInfo は、コンポーネントのエラー出力を取得する基本クラスにより提供されるヘルパー関数です。 コンポーネントにエラー出力がない場合、メソッドは false を返します。

詳細については、「データ フロー コンポーネントでのエラー出力の使用」を参照してください。

関連項目

参照

PipelineComponent クラス

Microsoft.SqlServer.Dts.Pipeline 名前空間