PackageUpgradeResult.OnWarning メソッド

定義

タスクがエラーの立証はできなくても、クライアントに警告を送ることは保証できる状態になると呼び出されます。

public:
 virtual void OnWarning(Microsoft::SqlServer::Dts::Runtime::DtsObject ^ source, int warningCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError);
public void OnWarning (Microsoft.SqlServer.Dts.Runtime.DtsObject source, int warningCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError);
abstract member OnWarning : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> unit
override this.OnWarning : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> unit
Public Sub OnWarning (source As DtsObject, warningCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String)

パラメーター

source
DtsObject

イベントの原因になったオブジェクトです。

warningCode
Int32

警告メッセージを識別する Integer です。

subComponent
String

ソース内のサブモジュールを識別する任意の文字列です

description
String

メッセージのテキストです。

helpFile
String

詳細な情報を含むヘルプ ファイルのパスです。

helpContext
Int32

ヘルプ ファイルのトピックの識別子です。

idofInterfaceWithError
String

エラーの原因となったインターフェイスの GUID のテキスト表現です。

実装

適用対象