Udostępnij za pośrednictwem


Metoda IDTSInfoEvents.FireError

Uruchamiany, komunikat o błędzie.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime
Zestaw:  Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)

Składnia

'Deklaracja
Function FireError ( _
    errorCode As Integer, _
    subComponent As String, _
    description As String, _
    helpFile As String, _
    helpContext As Integer _
) As Boolean
'Użycie
Dim instance As IDTSInfoEvents
Dim errorCode As Integer
Dim subComponent As String
Dim description As String
Dim helpFile As String
Dim helpContext As Integer
Dim returnValue As Boolean

returnValue = instance.FireError(errorCode, _
    subComponent, description, helpFile, _
    helpContext)
bool FireError(
    int errorCode,
    string subComponent,
    string description,
    string helpFile,
    int helpContext
)
bool FireError(
    int errorCode, 
    String^ subComponent, 
    String^ description, 
    String^ helpFile, 
    int helpContext
)
abstract FireError : 
        errorCode:int * 
        subComponent:string * 
        description:string * 
        helpFile:string * 
        helpContext:int -> bool 
function FireError(
    errorCode : int, 
    subComponent : String, 
    description : String, 
    helpFile : String, 
    helpContext : int
) : boolean

Parametry

  • errorCode
    Typ: System.Int32
    Całkowitą identyfikująca komunikat o błędzie.
  • subComponent
    Typ: System.String
    Dowolny ciąg identyfikujący podmodułów wewnątrz źródło.Na przykład przekształcanie w zadaniu rurociągu.
  • helpFile
    Typ: System.String
    Ścieżka do pliku pomocy, który zawiera szczegółowe informacje.
  • helpContext
    Typ: System.Int32
    Identyfikator tematu w pliku pomocy.

Wartość zwracana

Typ: System.Boolean
A wartość logiczna wskazuje, jeśli ta powinna nadal wypalania lub zatrzymać wypalania.Wartość true wskazuje, że należy kontynuować wypalania.

Uwagi

Zawiera informacje o awarii.