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


IDTSEvents90.OnCustomEvent Method

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

For more information, see IDTSEvents.

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

Синтаксис

'Декларация
<DispIdAttribute(13)> _
Sub OnCustomEvent ( _
    <InAttribute> pTaskHost As IDTSTaskHost90, _
    <InAttribute> EventName As String, _
    <InAttribute> EventText As String, _
    <InAttribute> ByRef ppsaArguments As Object(), _
    <InAttribute> SubComponent As String, _
    <InAttribute> <OutAttribute> ByRef pbFireAgain As Boolean _
)
[DispIdAttribute(13)] 
void OnCustomEvent (
    [InAttribute] IDTSTaskHost90 pTaskHost,
    [InAttribute] string EventName,
    [InAttribute] string EventText,
    [InAttribute] ref Object[] ppsaArguments,
    [InAttribute] string SubComponent,
    [InAttribute] out bool pbFireAgain
)
[DispIdAttribute(13)] 
void OnCustomEvent (
    [InAttribute] IDTSTaskHost90^ pTaskHost, 
    [InAttribute] String^ EventName, 
    [InAttribute] String^ EventText, 
    [InAttribute] array<Object^>^% ppsaArguments, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] [OutAttribute] bool% pbFireAgain
)
/** @attribute DispIdAttribute(13) */ 
void OnCustomEvent (
    /** @attribute InAttribute() */ IDTSTaskHost90 pTaskHost, 
    /** @attribute InAttribute() */ String EventName, 
    /** @attribute InAttribute() */ String EventText, 
    /** @attribute InAttribute() */ /** @ref */ Object[] ppsaArguments, 
    /** @attribute InAttribute() */ String SubComponent, 
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ boolean pbFireAgain
)
JScript не поддерживает передачу аргументов типа, содержащего значение, по ссылке.

Параметры

  • pTaskHost
  • EventName
  • EventText
  • ppsaArguments
  • SubComponent
  • pbFireAgain

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

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.

См. также

Справочник

IDTSEvents90 Interface
IDTSEvents90 Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace