CManagedComponentWrapperClass.DescribeRedirectedErrorCode(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual System::String ^ DescribeRedirectedErrorCode(int hrErrorCode) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSDesigntimeComponent100::DescribeRedirectedErrorCode;
[System.Runtime.InteropServices.DispId(35)]
public virtual string DescribeRedirectedErrorCode (int hrErrorCode);
[<System.Runtime.InteropServices.DispId(35)>]
abstract member DescribeRedirectedErrorCode : int -> string
override this.DescribeRedirectedErrorCode : int -> string
Public Overridable Function DescribeRedirectedErrorCode (hrErrorCode As Integer) As String
參數
- hrErrorCode
- Int32
傳回
字串,其中包含參數所指定之錯誤碼的描述 errorCode 。
實作
- 屬性
備註
當中的資料列重新 IDTSBuffer100 導向至元件的錯誤輸出時,會在元件執行期間呼叫這個方法,以抓取元件所提供的錯誤碼描述。