Udostępnij przez


Metoda IDTSEvents.OnInformation

Dowolne nazywany czas zadanie wymaga się dostarczenia informacji.

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

Składnia

'Deklaracja
Sub OnInformation ( _
    source As DtsObject, _
    informationCode As Integer, _
    subComponent As String, _
    description As String, _
    helpFile As String, _
    helpContext As Integer, _
    idofInterfaceWithError As String, _
    ByRef fireAgain As Boolean _
)
'Użycie
Dim instance As IDTSEvents
Dim source As DtsObject
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 fireAgain As Boolean

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

Parametry

  • informationCode
    Typ: System.Int32
    Całkowitą identyfikujący wiadomość.Identyfikator ten powinien być unikatowy w połączeniu z source parametru, tak source i informationCode kombinacji powinien być unikatowy.Jednakże informationCode samodzielnie nie powinien być unikatowy.
  • subComponent
    Typ: System.String
    Dowolny ciąg identyfikujący podmodułów wewnątrz źródło.Na przykład przekształcanie w zadaniu rurociągu.
  • helpFile
    Typ: System.String
    Ścieżka do pliku Pomocy zawierającego szczegółowe informacje.
  • helpContext
    Typ: System.Int32
    Identyfikator tematu w pliku pomocy.
  • idofInterfaceWithError
    Typ: System.String
    Tekstowa reprezentacja identyfikatora GUID interfejs, który spowodował błąd.
  • 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

W porównaniu do ostrzeżenie, zdarzenie informacyjne komunikuje się ważne informacje, które nie musi koniecznie wyznaczają utraty danych lub inne podstawy do niepokoju.Jednakże ważne jest wystarczająco więcej niż wpis dziennika uzasadnia.