Aracılığıyla paylaş


CManagedComponentWrapperClass.DescribeRedirectedErrorCode Yöntemi

Bileşen tarafından tanımlanmış bir hata kodu açıklaması döndürür.

Ad Alanı:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Derleme:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap içinde.dll)

Sözdizimi

'Bildirim
Public Overridable Function DescribeRedirectedErrorCode ( _
    hrErrorCode As Integer _
) As String
'Kullanım
Dim instance As CManagedComponentWrapperClass
Dim hrErrorCode As Integer
Dim returnValue As String

returnValue = instance.DescribeRedirectedErrorCode(hrErrorCode)
public virtual string DescribeRedirectedErrorCode(
    int hrErrorCode
)
public:
virtual String^ DescribeRedirectedErrorCode(
    [InAttribute] int hrErrorCode
)
abstract DescribeRedirectedErrorCode : 
        hrErrorCode:int -> string 
override DescribeRedirectedErrorCode : 
        hrErrorCode:int -> string 
public function DescribeRedirectedErrorCode(
    hrErrorCode : int
) : String

Parametreler

  • hrErrorCode
    Tür: System.Int32
    Hata kodu açıklaması alınır.

Dönüş Değeri

Tür: System.String
A dize tarafından belirtilen hata kodu için bir açıklama içeren errorCode parametresi.

Uygulamalar

IDTSDesigntimeComponent100.DescribeRedirectedErrorCode(Int32)

Açıklamalar

Satırdan, bileşeni tarafından sağlanan hata kodunun açıklaması almak için bileşen yürütme sırasında bu yöntem çaðrýlýr bir IDTSBuffer100 yeniden yönlendirilen hata çıktı bileşeni.