IDTSManagedComponentHost100.HostDescribeRedirectedErrorCode 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Describes the redirected error codes for the host.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function HostDescribeRedirectedErrorCode ( _
    pWrapper As IDTSManagedComponentWrapper100, _
    hrErrorCode As Integer _
) As String
用法
Dim instance As IDTSManagedComponentHost100 
Dim pWrapper As IDTSManagedComponentWrapper100 
Dim hrErrorCode As Integer 
Dim returnValue As String 

returnValue = instance.HostDescribeRedirectedErrorCode(pWrapper, _
    hrErrorCode)
string HostDescribeRedirectedErrorCode(
    IDTSManagedComponentWrapper100 pWrapper,
    int hrErrorCode
)
String^ HostDescribeRedirectedErrorCode(
    [InAttribute] IDTSManagedComponentWrapper100^ pWrapper, 
    [InAttribute] int hrErrorCode
)
abstract HostDescribeRedirectedErrorCode : 
        pWrapper:IDTSManagedComponentWrapper100 * 
        hrErrorCode:int -> string
function HostDescribeRedirectedErrorCode(
    pWrapper : IDTSManagedComponentWrapper100, 
    hrErrorCode : int
) : String

参数

返回值

类型:System.String
The redirected error codes.

请参阅

参考

IDTSManagedComponentHost100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间