Méthode IDTSInfoEvents100.FireWarning
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Fires a warning.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Sub FireWarning ( _
WarningCode As Integer, _
SubComponent As String, _
Description As String, _
HelpFile As String, _
HelpContext As Integer _
)
'Utilisation
Dim instance As IDTSInfoEvents100
Dim WarningCode As Integer
Dim SubComponent As String
Dim Description As String
Dim HelpFile As String
Dim HelpContext As Integer
instance(WarningCode, SubComponent, Description, _
HelpFile, HelpContext)
void FireWarning(
int WarningCode,
string SubComponent,
string Description,
string HelpFile,
int HelpContext
)
void FireWarning(
[InAttribute] int WarningCode,
[InAttribute] String^ SubComponent,
[InAttribute] String^ Description,
[InAttribute] String^ HelpFile,
[InAttribute] 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
)
Paramètres
- WarningCode
Type : System.Int32
An Integer that identifies the warning message.
- SubComponent
Type : System.String
An arbitrary string that identifies the sub-module within a source. For example, the transform in a Pipeline task.
- Description
Type : System.String
Text of the message.
- HelpFile
Type : System.String
The path to the Help file that contains detailed information.
- HelpContext
Type : System.Int32
Identifier of the topic in the Help file.