Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

Applies To: SQL Server 2016 Preview

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)

[DispIdAttribute(4)]
void OnWarning(
	IDTSRuntimeObject100 pSource,
	int WarningCode,
	string SubComponent,
	string Description,
	string HelpFile,
	int HelpContext,
	string IDOfInterfaceWithError
)

Parameters

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

The object that caused the event.

WarningCode
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.

SubComponent
Type: System.String

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

Description
Type: System.String

Text of the message.

HelpFile
Type: System.String

The path to the Help file that contains detailed information.

HelpContext
Type: System.Int32

Identifier of the topic in the Help file.

IDOfInterfaceWithError
Type: System.String

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

For more information, see IDTSEvents.

Return to top
Show:
© 2015 Microsoft