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 使用資料流程元件中的錯誤輸出.