Metodo IDTSEvents100.OnInformation

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

Called any time the task is required to provide information.

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

Sintassi

'Dichiarazione
Sub OnInformation ( _
    pSource As IDTSRuntimeObject100, _
    InformationCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    IDOfInterfaceWithError As String, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'Utilizzo
Dim instance As IDTSEvents100 
Dim pSource As IDTSRuntimeObject100 
Dim InformationCode As Integer 
Dim SubComponent As String 
Dim Description As String 
Dim HelpFile As String 
Dim HelpContext As Integer 
Dim IDOfInterfaceWithError As String 
Dim pbFireAgain As Boolean

instance.OnInformation(pSource, InformationCode, _
    SubComponent, Description, HelpFile, _
    HelpContext, IDOfInterfaceWithError, _
    pbFireAgain)
void OnInformation(
    IDTSRuntimeObject100 pSource,
    int InformationCode,
    string SubComponent,
    string Description,
    string HelpFile,
    int HelpContext,
    string IDOfInterfaceWithError,
    out bool pbFireAgain
)
void OnInformation(
    [InAttribute] IDTSRuntimeObject100^ pSource, 
    [InAttribute] int InformationCode, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] String^ Description, 
    [InAttribute] String^ HelpFile, 
    [InAttribute] int HelpContext, 
    [InAttribute] String^ IDOfInterfaceWithError, 
    [InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract OnInformation : 
        pSource:IDTSRuntimeObject100 * 
        InformationCode:int * 
        SubComponent:string * 
        Description:string * 
        HelpFile:string * 
        HelpContext:int * 
        IDOfInterfaceWithError:string * 
        pbFireAgain:bool byref -> unit
function OnInformation(
    pSource : IDTSRuntimeObject100, 
    InformationCode : int, 
    SubComponent : String, 
    Description : String, 
    HelpFile : String, 
    HelpContext : int, 
    IDOfInterfaceWithError : String, 
    pbFireAgain : boolean
)

Parametri

  • InformationCode
    Tipo: System.Int32
    An Integer that identifies the message. This identifier should be unique when combined with the source parameter, so the source and informationCode combination should be unique. However, the informationCode alone is not expected to be unique.
  • SubComponent
    Tipo: System.String
    An arbitrary string that identifies the sub-module within a source. For example, the transform in a Pipeline task.
  • HelpFile
    Tipo: System.String
    The path to the help file containing detailed information.
  • HelpContext
    Tipo: System.Int32
    Identifier of the topic in the Help file.
  • IDOfInterfaceWithError
    Tipo: System.String
    A textual representation of the GUID of the interface that caused the error.
  • pbFireAgain
    Tipo: System.Boolean%
    A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Osservazioni

Compared to a warning, the informational event communicates important information that does not necessarily denote any data loss or other cause for concern. However, it is important enough that it warrants more than a log entry.

For more information, see IDTSEvents.

Vedere anche

Riferimento

IDTSEvents100 Interfaccia

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