Partilhar via


Método IDTSInfoEvents100.FireError

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Fires an error.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Sub FireError ( _
    ErrorCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbCancel As Boolean _
)
'Uso
Dim instance As IDTSInfoEvents100 
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
)

Parâmetros

  • SubComponent
    Tipo: System.String
    The sub-module within a source.
  • HelpFile
    Tipo: System.String
    The path to the Help file that contains detailed information.
  • HelpContext
    Tipo: System.Int32
    Identifier of the topic in the Help file.
  • pbCancel
    Tipo: System.Boolean%
    A Boolean that indicates if this should cancel firing or continue firing.

Consulte também

Referência

IDTSInfoEvents100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper