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

警告メッセージを識別する整数です。 この識別子は source パラメータと組み合わせると一意であるべきなので、 sourcewarningCode の組み合わせも一意であるべきです。 しかし、 warningCode だけでは唯一無二とは期待されていません。

subComponent
String

ソース内の部分加群を識別する任意の文字列です。 例えば、パイプラインタスクの変換です。

description
String

メッセージのテキスト。

helpFile
String

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

helpContext
Int32

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

idofInterfaceWithError
String

エラーを引き起こしたインターフェースのGUIDのテキスト表現。

適用対象