Метод IDTSComponentEvents100.FireWarning
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub FireWarning ( _
WarningCode As Integer, _
SubComponent As String, _
Description As String, _
HelpFile As String, _
HelpContext As Integer _
)
'Применение
Dim instance As IDTSComponentEvents100
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
)
Параметры
- WarningCode
Тип: System.Int32
An Integer that identifies the warning message.
- SubComponent
Тип: System.String
A String that contains more detail about the event source.
- Description
Тип: System.String
The text of the message.
- HelpFile
Тип: System.String
The path to the Help file that contains detailed information.
- HelpContext
Тип: System.Int32
The identifier of the topic in the Help file.