共用方式為


IDTSDesigntimeComponent100.DescribeRedirectedErrorCode(Int32) Method

Definition

Returns the description of the specified error code.

public:
 System::String ^ DescribeRedirectedErrorCode(int hrErrorCode);
[System.Runtime.InteropServices.DispId(35)]
public string DescribeRedirectedErrorCode (int hrErrorCode);
[<System.Runtime.InteropServices.DispId(35)>]
abstract member DescribeRedirectedErrorCode : int -> string
Public Function DescribeRedirectedErrorCode (hrErrorCode As Integer) As String

Parameters

hrErrorCode
Int32

The error code whose descriptive string is retrieved.

Returns

The description of the error code.

Attributes

Remarks

This method is called to retrieve the description of an error code that is provided by the component when the component directs a row to an error output. The data flow task calls this method to get the string associated with the error code.

Applies to