Metoda IDTSInfoEvents.FireWarning
Uruchamiany, a ostrzeżenie.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime
Zestaw: Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)
Składnia
'Deklaracja
Sub FireWarning ( _
warningCode As Integer, _
subComponent As String, _
description As String, _
helpFile As String, _
helpContext As Integer _
)
'Użycie
Dim instance As IDTSInfoEvents
Dim warningCode As Integer
Dim subComponent As String
Dim description As String
Dim helpFile As String
Dim helpContext As Integer
instance.FireWarning(warningCode, subComponent, _
description, helpFile, helpContext)
void FireWarning(
int warningCode,
string subComponent,
string description,
string helpFile,
int helpContext
)
void FireWarning(
int warningCode,
String^ subComponent,
String^ description,
String^ helpFile,
int helpContext
)
abstract FireWarning :
warningCode:int *
subComponent:string *
description:string *
helpFile:string *
helpContext:int -> unit
function FireWarning(
warningCode : int,
subComponent : String,
description : String,
helpFile : String,
helpContext : int
)
Parametry
- warningCode
Typ: System.Int32
Całkowitą identyfikująca komunikat ostrzegawczy.
- 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.
- description
Typ: System.String
Tekst wiadomości.
- helpFile
Typ: System.String
Ścieżka do pliku pomocy, który zawiera szczegółowe informacje.
- helpContext
Typ: System.Int32
Identyfikator tematu w pliku pomocy.
Uwagi
Zawiera informacje dotyczące problemu bez błędu.