FireInformation 方法
Raises an OnInformation event.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Sub FireInformation ( _
InformationCode As Integer, _
SubComponent As String, _
Description As String, _
HelpFile As String, _
HelpContext As Integer, _
<OutAttribute> ByRef pbFireAgain As Boolean _
)
用法
Dim instance As IDTSComponentMetaData100
Dim InformationCode As Integer
Dim SubComponent As String
Dim Description As String
Dim HelpFile As String
Dim HelpContext As Integer
Dim pbFireAgain As Boolean
instance.FireInformation(InformationCode, _
SubComponent, Description, HelpFile, _
HelpContext, pbFireAgain)
void FireInformation(
int InformationCode,
string SubComponent,
string Description,
string HelpFile,
int HelpContext,
out bool pbFireAgain
)
void FireInformation(
[InAttribute] int InformationCode,
[InAttribute] String^ SubComponent,
[InAttribute] String^ Description,
[InAttribute] String^ HelpFile,
[InAttribute] int HelpContext,
[InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract FireInformation :
InformationCode:int *
SubComponent:string *
Description:string *
HelpFile:string *
HelpContext:int *
pbFireAgain:bool byref -> unit
function FireInformation(
InformationCode : int,
SubComponent : String,
Description : String,
HelpFile : String,
HelpContext : int,
pbFireAgain : boolean
)
参数
- InformationCode
类型:System. . :: . .Int32
The component-defined information code.
- SubComponent
类型:System. . :: . .String
The name of the component that raises the event.
- Description
类型:System. . :: . .String
The description of the information event.
- HelpFile
类型:System. . :: . .String
The help file that provides more information about the error event.
- HelpContext
类型:System. . :: . .Int32
The context ID for the error.
- pbFireAgain
类型:System. . :: . .Boolean%
Specifies whether execution of the component is cancelled.
注释
The OnInformation event should only be raised during component execution since the information is not visibly captured during component design.
The pbFireAgain parameter is set by the runtime and indicates whether any clients are listening to the event. Components store the value of this parameter locally and should evaluate its value before raising the event again. If the value of the pbFireAgain parameter is false, the event should not be raised.