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
參數
- pWrapper
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- hrErrorCode
型別:System.Int32
The error code.
傳回值
型別:System.String
The redirected error codes.