IDTSEvents.OnWarning メソッド

定義

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

public:
 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
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 です。 source パラメーターと組み合わせる場合、sourcewarningCode の組み合わせが一意となるよう、この識別子は一意である必要があります。 ただし、warningCode が単独で一意である必要はありません。

subComponent
String

ソース内のサブモジュールを識別する任意の文字列です (パイプライン タスクの変換など)。

description
String

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

helpFile
String

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

helpContext
Int32

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

idofInterfaceWithError
String

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

適用対象