Export (0) Print
Expand All

IDTSComponentEvents.FireProgress Method

Raises an event when measurable progress is made by the executable.

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

void FireProgress(
	string progressDescription,
	int percentComplete,
	int progressCountLow,
	int progressCountHigh,
	string subComponent,
	ref bool fireAgain
)

Parameters

progressDescription
Type: String
A String that describes the progress event that is raised.
percentComplete
Type: Int32
An Integer used to indicate how much of the task has completed.
progressCountLow
Type: Int32
An Integer that contains the low 32-bits of the units completed.
progressCountHigh
Type: Int32
An Integer that contains the high 32-bits of the units completed.
subComponent
Type: String
A String that contains more detail about the event source.
fireAgain
Type: Boolean
A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Because firing of an event may be expensive, the run-time engine provides a mechanism for suppressing events that you are not interested in. Every event firing method has a FireAgain parameter. If the value of this variable is false, after the method returns, the caller will not fire this event again for the duration of the current execution.

Several of the events have a subComponent parameter that allows for even greater granularity in event source identification.

Community Additions

ADD
Show:
© 2014 Microsoft