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 在数据流组件中使用错误输出.