Partager via


Méthode IDTSComponentMetaData100.FireInformation

Raises an OnInformation event.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Sub FireInformation ( _
    InformationCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'Utilisation
Dim instance As IDTSComponentMetaData100 
Dim InformationCode As Integer 
Dim SubComponent As String 
Dim Description As String 
Dim HelpFile As String 
Dim HelpContext As Integer 
Dim pbFireAgain As Boolean

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

Paramètres

  • InformationCode
    Type : System.Int32
    The component-defined information code.
  • SubComponent
    Type : System.String
    The name of the component that raises the event.
  • Description
    Type : System.String
    The description of the information event.
  • HelpFile
    Type : System.String
    The help file that provides more information about the information event.
  • HelpContext
    Type : System.Int32
    The context ID for the information.
  • pbFireAgain
    Type : System.Boolean%
    Specifies whether the event should be raised again in the future.

Notes

The OnInformation event should only be raised during component execution since the information is not visibly captured during component design.

The pbFireAgain parameter is set by the runtime and indicates whether any clients are listening to the event. Components store the value of this parameter locally and should evaluate its value before raising the event again. If the value of the pbFireAgain parameter is false, the event should not be raised.

Voir aussi

Référence

IDTSComponentMetaData100 Interface

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper