IDTSEvents100.OnInformation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每当任务需要提供信息时,都会被呼叫。
public:
void OnInformation(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100 ^ pSource, int InformationCode, System::String ^ SubComponent, System::String ^ Description, System::String ^ HelpFile, int HelpContext, System::String ^ IDOfInterfaceWithError, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(5)]
public void OnInformation(Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 pSource, int InformationCode, string SubComponent, string Description, string HelpFile, int HelpContext, string IDOfInterfaceWithError, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member OnInformation : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100 * int * string * string * string * int * string * bool -> unit
Public Sub OnInformation (pSource As IDTSRuntimeObject100, InformationCode As Integer, SubComponent As String, Description As String, HelpFile As String, HelpContext As Integer, IDOfInterfaceWithError As String, ByRef pbFireAgain As Boolean)
参数
- pSource
- IDTSRuntimeObject100
错误的源头,导致事件的物体。
- InformationCode
- Int32
一个整数用于识别消息。 该标识符与参数组合 source 时应当唯一,因此 source 和 informationCode 组合应当是唯一的。 然而, informationCode 单独的并不被期望是唯一的。
- SubComponent
- String
一个任意字符串,用于标识源中的子模。 例如,管道任务中的变换。
- Description
- String
消息的文本。
- HelpFile
- String
通往帮助文件的路径,包含详细信息。
- HelpContext
- Int32
帮助文件中主题的标识符。
- IDOfInterfaceWithError
- String
这是导致错误的接口GUID的文本表示。
- pbFireAgain
- Boolean
一个布尔值表示该信号应继续或停止发射。 值为真则表示应继续发射。
- 属性
注解
与警告相比,信息事件传递的重要信息,不一定意味着任何数据丢失或其他令人担忧的原因。 然而,它的重要性足以让它不仅仅是日志条目。
有关详细信息,请参阅 IDTSEvents。