PackageUpgradeResult.OnInformation 方法

定义

需要任务提供信息时调用。

public:
 virtual void OnInformation(Microsoft::SqlServer::Dts::Runtime::DtsObject ^ source, int informationCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError, bool % fireAgain);
public void OnInformation (Microsoft.SqlServer.Dts.Runtime.DtsObject source, int informationCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError, ref bool fireAgain);
abstract member OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
override this.OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
Public Sub OnInformation (source As DtsObject, informationCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String, ByRef fireAgain As Boolean)

参数

source
DtsObject

错误的源,导致事件的对象。

informationCode
Int32

一个用于标识消息的整数。

subComponent
String

标识源中子模块的任意字符串。

description
String

消息的文本。

helpFile
String

指向包含详细信息的帮助文件的路径。

helpContext
Int32

帮助文件中该主题的标识符。

idofInterfaceWithError
String

导致错误的接口的 GUID 的文本表示形式。

fireAgain
Boolean

如果对象应继续触发,则为 True;否则为 false。

实现

适用于