IDTSEvents100.OnWarning Method (IDTSRuntimeObject100, Int32, String, String, String, Int32, String)


This API supports the product infrastructure and is not intended to be used directly from your code.

Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Namespace:   Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

void OnWarning(
	IDTSRuntimeObject100 pSource,
	int WarningCode,
	string SubComponent,
	string Description,
	string HelpFile,
	int HelpContext,
	string IDOfInterfaceWithError


Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100

The object that caused the event.

Type: System.Int32

An Integer that identifies the warning message. This identifier should be unique when combined with the source parameter, so the source and warningCode combination should be unique. However, the warningCode alone is not expected to be unique.

Type: System.String

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

Type: System.String

Text of the message.

Type: System.String

The path to the Help file that contains detailed information.

Type: System.Int32

Identifier of the topic in the Help file.

Type: System.String

A textual representation of the GUID of the interface that caused the error.

For more information, see IDTSEvents.

Return to top