Udostępnij za pośrednictwem


Metoda IDTSComponentMetaData100.FireInformation

Podnosi OnInformation zdarzenie.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw:  Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)

Składnia

'Deklaracja
Sub FireInformation ( _
    InformationCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'Użycie
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
)

Parametry

  • InformationCode
    Typ: System.Int32
    Kod informacji określonych składników.
  • SubComponent
    Typ: System.String
    Nazwa składnika, który wywołuje zdarzenie.
  • HelpFile
    Typ: System.String
    Plik Pomocy zawiera więcej informacji na temat zdarzenie błędu.
  • HelpContext
    Typ: System.Int32
    Identyfikator kontekstu błędu.
  • pbFireAgain
    Typ: System.Boolean%
    Określa, czy wykonanie składnika jest anulowana.

Uwagi

OnInformationzdarzenie Tylko należy podnieść podczas wykonywania składnika, ponieważ informacja nie jest widoczny przechwycona podczas projektowania składnika.

pbFireAgain Parametr jest zestaw w czasie wykonywania i wskazuje, czy wszyscy klienci są nasłuchiwania zdarzeń.Składniki wartości tego parametru lokalnie przechowywać i należy ocenić jego wartością przed ponownym wzrostem zdarzenie.Jeśli wartość pbFireAgain parametr jest false, nie można podwyższyć zdarzenie.