共用方式為


IDTSInfoEvents.FireWarning(Int32, String, String, String, Int32) Method

Definition

Fires a warning.

public:
 void FireWarning(int warningCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext);
public void FireWarning (int warningCode, string subComponent, string description, string helpFile, int helpContext);
abstract member FireWarning : int * string * string * string * int -> unit
Public Sub FireWarning (warningCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer)

Parameters

warningCode
Int32

An Integer that identifies the warning message.

subComponent
String

An arbitrary string that identifies the sub-module within a source. For example, the transform in a Pipeline task.

description
String

Text of the message.

helpFile
String

The path to the Help file that contains detailed information.

helpContext
Int32

Identifier of the topic in the Help file.

Remarks

Provides information about a non-failure issue.

Applies to