此 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)