Condividi tramite


Metodo IDTSComponentEvents100.FireError

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Raises an event when an error occurs.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Sub FireError ( _
    ErrorCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbCancel As Boolean _
)
'Utilizzo
Dim instance As IDTSComponentEvents100 
Dim ErrorCode As Integer 
Dim SubComponent As String 
Dim Description As String 
Dim HelpFile As String 
Dim HelpContext As Integer 
Dim pbCancel As Boolean

instance.FireError(ErrorCode, SubComponent, _
    Description, HelpFile, HelpContext, _
    pbCancel)
void FireError(
    int ErrorCode,
    string SubComponent,
    string Description,
    string HelpFile,
    int HelpContext,
    out bool pbCancel
)
void FireError(
    [InAttribute] int ErrorCode, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] String^ Description, 
    [InAttribute] String^ HelpFile, 
    [InAttribute] int HelpContext, 
    [OutAttribute] bool% pbCancel
)
abstract FireError : 
        ErrorCode:int * 
        SubComponent:string * 
        Description:string * 
        HelpFile:string * 
        HelpContext:int * 
        pbCancel:bool byref -> unit
function FireError(
    ErrorCode : int, 
    SubComponent : String, 
    Description : String, 
    HelpFile : String, 
    HelpContext : int, 
    pbCancel : boolean
)

Parametri

  • ErrorCode
    Tipo: System.Int32
    An Integer that identifies the error message.
  • SubComponent
    Tipo: System.String
    A String that contains more detail about the event source.
  • HelpFile
    Tipo: System.String
    The path to the Help file that contains detailed information.
  • HelpContext
    Tipo: System.Int32
    The identifier of the topic in the Help file.
  • pbCancel
    Tipo: System.Boolean%
    When this method returns, contains a Boolean that indicates whether the event should continue firing or stop firing. A value of true indicates that the event should continue firing. A value of false indicates that the event should stop firing. This parameter is passed uninitialized.

Vedere anche

Riferimento

IDTSComponentEvents100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper