The OnFinish Event indicates completion of a task or step.
object.OnFinish(EventSource)
| Part | Description |
|---|---|
| Package | Expression that evaluates to an object in the Applies To list |
| EventSource | Event being executed |
For task types defined by DTS, the EventSource argument indicates a task by name. DTS tasks can be unnamed. When an unnamed task completes raising this event, the EventSource argument is empty.
HRESULT OnFinish(BSTR EventSource);