Поделиться через


IDTSEvents.OnPreExecute Method

Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.

Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Синтаксис

'Декларация
Sub OnPreExecute ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
void OnPreExecute (
    Executable exec,
    ref bool fireAgain
)
void OnPreExecute (
    Executable^ exec, 
    bool% fireAgain
)
void OnPreExecute (
    Executable exec, 
    /** @ref */ boolean fireAgain
)
JScript не поддерживает передачу аргументов типа, содержащего значение, по ссылке.

Параметры

  • exec
    The task that is to execute next.
  • fireAgain
    A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

IDTSEvents Interface
IDTSEvents Members
Microsoft.SqlServer.Dts.Runtime Namespace