DescribeRedirectedErrorCode 方法
Returns the description of an error code defined by the component.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Public Overridable Function DescribeRedirectedErrorCode ( _
hrErrorCode As Integer _
) As String
用法
Dim instance As CManagedComponentWrapperClass
Dim hrErrorCode As Integer
Dim returnValue As String
returnValue = instance.DescribeRedirectedErrorCode(hrErrorCode)
public virtual string DescribeRedirectedErrorCode(
int hrErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode(
[InAttribute] int hrErrorCode
)
abstract DescribeRedirectedErrorCode :
hrErrorCode:int -> string
override DescribeRedirectedErrorCode :
hrErrorCode:int -> string
public function DescribeRedirectedErrorCode(
hrErrorCode : int
) : String
参数
- hrErrorCode
类型:System. . :: . .Int32
The error code whose description is retrieved.
返回值
类型:System. . :: . .String
A String that contains a description for the error code specified by the errorCode parameter.
实现
IDTSDesigntimeComponent100. . :: . .DescribeRedirectedErrorCode(Int32)
注释
This method is called during component execution to retrieve a description of the error code provided by the component when a row from an IDTSBuffer100 was redirected to the error output of the component.