DescribeRedirectedErrorCode 方法
Gets the error message for the error code on the upstream output column.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Function DescribeRedirectedErrorCode ( _
hrErrorCode As Integer _
) As String
'用途
Dim instance As IDTSVirtualInputColumn100
Dim hrErrorCode As Integer
Dim returnValue As String
returnValue = instance.DescribeRedirectedErrorCode(hrErrorCode)
string DescribeRedirectedErrorCode(
int hrErrorCode
)
String^ DescribeRedirectedErrorCode(
[InAttribute] int hrErrorCode
)
abstract DescribeRedirectedErrorCode :
hrErrorCode:int -> string
function DescribeRedirectedErrorCode(
hrErrorCode : int
) : String
參數
- hrErrorCode
型別:System. . :: . .Int32
The error code whose error message is retrieved.
傳回值
型別:System. . :: . .String
A String that contains the error message provided by the upstream component for the specified error code.
備註
This method is a run-time method of the upstream output column that represents the virtual input column. It should not be used at design time when accessing the virtual input column.