GetErrorDescription 方法

Gets the description of an internal Integration Services error code.

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

语法

声明
Function GetErrorDescription ( _
    hrError As Integer _
) As String
用法
Dim instance As IDTSComponentMetaData100
Dim hrError As Integer
Dim returnValue As String

returnValue = instance.GetErrorDescription(hrError)
string GetErrorDescription(
    int hrError
)
String^ GetErrorDescription(
    [InAttribute] int hrError
)
abstract GetErrorDescription : 
        hrError:int -> string 
function GetErrorDescription(
    hrError : int
) : String

参数

返回值

类型:System. . :: . .String
A String that contains the description of the specified error code.

注释

This method is called to retrieve the description of an error code defined by an Integration Services component. These are the error codes listed in SSIS 错误和消息参考.