共用方式為


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 Integration Services 錯誤和訊息參考.