This topic has not yet been rated - Rate this topic

IDTSComponentMetaData100.FireWarning Method

Raises an OnWarning event.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
abstract FireWarning : 
        WarningCode:int * 
        SubComponent:string * 
        Description:string * 
        HelpFile:string * 
        HelpContext:int -> unit

Parameters

WarningCode
Type: System.Int32
The component-defined error code.
SubComponent
Type: System.String
The name of the component that raises the warning.
Description
Type: System.String
The description of the warning.
HelpFile
Type: System.String
The help file that contains more information about the warning.
HelpContext
Type: System.Int32
The help context ID of the warning.

An OnWarning event can be raised during package design or execution. During design time, warnings are displayed in the Task List window and cause the yellow exclamation icon to be displayed next to the component shape.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.