Condividi tramite


Metodo ASTaskBase.FireError (Int32, String, String, String)

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.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Sintassi

'Dichiarazione
Protected Sub FireError ( _
    errorCode As Integer, _
    subComponent As String, _
    message As String, _
    helpLink As String _
)
'Utilizzo
Dim errorCode As Integer 
Dim subComponent As String 
Dim message As String 
Dim helpLink As String 

Me.FireError(errorCode, subComponent, _
    message, helpLink)
protected void FireError(
    int errorCode,
    string subComponent,
    string message,
    string helpLink
)
protected:
void FireError(
    int errorCode, 
    String^ subComponent, 
    String^ message, 
    String^ helpLink
)
member FireError : 
        errorCode:int * 
        subComponent:string * 
        message:string * 
        helpLink:string -> unit
protected function FireError(
    errorCode : int, 
    subComponent : String, 
    message : String, 
    helpLink : String
)

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.
  • helpLink
    Tipo: System.String
    The path to the Help file that contains detailed information.

Vedere anche

Riferimento

ASTaskBase Classe

Overload FireError

Spazio dei nomi Microsoft.DataTransformationServices.Tasks.DTSProcessingTask