共用方式為


IDTSComponentMetaData90.GetErrorDescription Method

Gets the description of an internal Integration Services error code.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(116)> _
Function GetErrorDescription ( _
    <InAttribute> hrError As Integer _
) As String
[DispIdAttribute(116)] 
string GetErrorDescription (
    [InAttribute] int hrError
)
[DispIdAttribute(116)] 
String^ GetErrorDescription (
    [InAttribute] int hrError
)
/** @attribute DispIdAttribute(116) */ 
String GetErrorDescription (
    /** @attribute InAttribute() */ int hrError
)
DispIdAttribute(116) 
function GetErrorDescription (
    hrError : int
) : String

參數

  • hrError
    The error code whose description is retrieved.

傳回值

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 Error and Message Reference.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace