Metoda IDTSEvents100.OnCustomEvent
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Aby uzyskać więcej informacji, zobacz temat IDTSEvents.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw: Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)
Składnia
'Deklaracja
Sub OnCustomEvent ( _
pTaskHost As IDTSTaskHost100, _
EventName As String, _
EventText As String, _
ByRef ppsaArguments As Object(), _
SubComponent As String, _
<OutAttribute> ByRef pbFireAgain As Boolean _
)
'Użycie
Dim instance As IDTSEvents100
Dim pTaskHost As IDTSTaskHost100
Dim EventName As String
Dim EventText As String
Dim ppsaArguments As Object()
Dim SubComponent As String
Dim pbFireAgain As Boolean
instance.OnCustomEvent(pTaskHost, EventName, _
EventText, ppsaArguments, SubComponent, _
pbFireAgain)
void OnCustomEvent(
IDTSTaskHost100 pTaskHost,
string EventName,
string EventText,
ref Object[] ppsaArguments,
string SubComponent,
out bool pbFireAgain
)
void OnCustomEvent(
[InAttribute] IDTSTaskHost100^ pTaskHost,
[InAttribute] String^ EventName,
[InAttribute] String^ EventText,
[InAttribute] array<Object^>^% ppsaArguments,
[InAttribute] String^ SubComponent,
[InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract OnCustomEvent :
pTaskHost:IDTSTaskHost100 *
EventName:string *
EventText:string *
ppsaArguments:Object[] byref *
SubComponent:string *
pbFireAgain:bool byref -> unit
function OnCustomEvent(
pTaskHost : IDTSTaskHost100,
EventName : String,
EventText : String,
ppsaArguments : Object[],
SubComponent : String,
pbFireAgain : boolean
)
Parametry
- pTaskHost
Typ: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100
- EventName
Typ: System.String
- EventText
Typ: System.String
- ppsaArguments
Typ: array<System.Object[]%
- SubComponent
Typ: System.String
- pbFireAgain
Typ: System.Boolean%
Zobacz także