Udostępnij za pośrednictwem


Metoda PackageUpgradeResult.OnCustomEvent

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime
Zestaw:  Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)

Składnia

'Deklaracja
Public Sub OnCustomEvent ( _
    taskHost As TaskHost, _
    eventName As String, _
    eventText As String, _
    ByRef arguments As Object(), _
    subComponent As String, _
    ByRef fireAgain As Boolean _
)
'Użycie
Dim instance As PackageUpgradeResult
Dim taskHost As TaskHost
Dim eventName As String
Dim eventText As String
Dim arguments As Object()
Dim subComponent As String
Dim fireAgain As Boolean

instance.OnCustomEvent(taskHost, eventName, _
    eventText, arguments, subComponent, _
    fireAgain)
public void OnCustomEvent(
    TaskHost taskHost,
    string eventName,
    string eventText,
    ref Object[] arguments,
    string subComponent,
    ref bool fireAgain
)
public:
virtual void OnCustomEvent(
    TaskHost^ taskHost, 
    String^ eventName, 
    String^ eventText, 
    array<Object^>^% arguments, 
    String^ subComponent, 
    bool% fireAgain
) sealed
abstract OnCustomEvent : 
        taskHost:TaskHost * 
        eventName:string * 
        eventText:string * 
        arguments:Object[] byref * 
        subComponent:string * 
        fireAgain:bool byref -> unit 
override OnCustomEvent : 
        taskHost:TaskHost * 
        eventName:string * 
        eventText:string * 
        arguments:Object[] byref * 
        subComponent:string * 
        fireAgain:bool byref -> unit 
public final function OnCustomEvent(
    taskHost : TaskHost, 
    eventName : String, 
    eventText : String, 
    arguments : Object[], 
    subComponent : String, 
    fireAgain : boolean
)

Parametry

Implementacje

IDTSEvents.OnCustomEvent(TaskHost, String, String, array<Object[]%, String, Boolean%)