Udostępnij przez


Metoda IDTSComponentEvents.FireInformation

Wywołuje zdarzenie zawierające informacje.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime
Zestaw:  Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)

Składnia

'Deklaracja
Sub FireInformation ( _
    informationCode As Integer, _
    subComponent As String, _
    description As String, _
    helpFile As String, _
    helpContext As Integer, _
    ByRef fireAgain As Boolean _
)
'Użycie
Dim instance As IDTSComponentEvents
Dim informationCode As Integer
Dim subComponent As String
Dim description As String
Dim helpFile As String
Dim helpContext As Integer
Dim fireAgain As Boolean

instance.FireInformation(informationCode, _
    subComponent, description, helpFile, _
    helpContext, fireAgain)
void FireInformation(
    int informationCode,
    string subComponent,
    string description,
    string helpFile,
    int helpContext,
    ref bool fireAgain
)
void FireInformation(
    int informationCode, 
    String^ subComponent, 
    String^ description, 
    String^ helpFile, 
    int helpContext, 
    bool% fireAgain
)
abstract FireInformation : 
        informationCode:int * 
        subComponent:string * 
        description:string * 
        helpFile:string * 
        helpContext:int * 
        fireAgain:bool byref -> unit 
function FireInformation(
    informationCode : int, 
    subComponent : String, 
    description : String, 
    helpFile : String, 
    helpContext : int, 
    fireAgain : boolean
)

Parametry

  • informationCode
    Typ: System.Int32
    Całkowitą identyfikująca komunikat informacyjny.
  • subComponent
    Typ: System.String
    A ciąg zawiera więcej szczegółów o źródło zdarzenia.
  • helpFile
    Typ: System.String
    Ścieżka do pliku pomocy, który zawiera szczegółowe informacje.
  • helpContext
    Typ: System.Int32
    Identyfikator tematu w pliku pomocy.
  • fireAgain
    Typ: System.Boolean%
    A wartość logiczna wskazuje, to należy kontynuować wypalania lub zatrzymać wypalania.Wartość true wskazuje, że należy kontynuować wypalania.

Uwagi

Definicja zdarzenie informacji jest jest tyle istotne, aby zawsze wyświetlana większości użytkowników wiadomość.Różni się od ostrzeżenia, domniemanych nie potencjalną szkodę i różni się od rejestrowania nie może być wyłączone ani filtrowane, i że mogą być obsługiwane przez obsługa zdarzeń.

Ponieważ wypalania zdarzenie może być kosztowne, uruchom -czas silnika udostępnia mechanizm pomijanie zdarzenia, które nie są zainteresowani.Każde zdarzenie wyzwalania metoda ma FireAgain parametru.Jeśli wartość tej zmiennej jest false, po metoda zwraca, obiekt wywołujący nie zostanie wyzwolony to zdarzenie ponownie w czasie trwania bieżącego wykonywania.

Niektóre zdarzenie mają subComponent parametr, który umożliwia jeszcze większą ziarnistość w identyfikacji źródło zdarzenia.