ManagedComponentHost.HostDescribeRedirectedErrorCode 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Describes the redirected error code.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost(在 Microsoft.SqlServer.PipelineHost.dll 中)
语法
声明
Public Function HostDescribeRedirectedErrorCode ( _
wrapper As IDTSManagedComponentWrapper100, _
iErrorCode As Integer _
) As String
用法
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim iErrorCode As Integer
Dim returnValue As String
returnValue = instance.HostDescribeRedirectedErrorCode(wrapper, _
iErrorCode)
public string HostDescribeRedirectedErrorCode(
IDTSManagedComponentWrapper100 wrapper,
int iErrorCode
)
public:
virtual String^ HostDescribeRedirectedErrorCode(
IDTSManagedComponentWrapper100^ wrapper,
int iErrorCode
) sealed
abstract HostDescribeRedirectedErrorCode :
wrapper:IDTSManagedComponentWrapper100 *
iErrorCode:int -> string
override HostDescribeRedirectedErrorCode :
wrapper:IDTSManagedComponentWrapper100 *
iErrorCode:int -> string
public final function HostDescribeRedirectedErrorCode(
wrapper : IDTSManagedComponentWrapper100,
iErrorCode : int
) : String
参数
- wrapper
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- iErrorCode
类型:System.Int32
The error code.
返回值
类型:System.String
The described error code.
实现
IDTSManagedComponentHost100.HostDescribeRedirectedErrorCode(IDTSManagedComponentWrapper100, Int32)