The OnStart Event indicates the start of a task or step.
object.OnStart(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 raises an OnStart event, the EventSource argument is empty.
HRESULT OnStart(BSTR EventSource);