DescribeRedirectedErrorCode メソッド

出力バッファに追加された PipelineBuffer 行に対するエラー コード情報を提供します。

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

パラメーター

戻り値

型: System. . :: . .String
エラー コードに関連付けられた説明です。

説明

DescribeRedirectedErrorCode メソッドは、コンポーネントからエラー出力へ送信されるエラー コードについて、エラーの説明を返します。他のすべてのエラー コードは、DTS_E_NOERRORDESCFORCOMPONENT を返します。これは、コンポーネントがこのエラー コードを認識していないことを示しています。詳細については、「データ フロー コンポーネントでのエラー出力の使用」を参照してください。