다음을 통해 공유


IDTSEvents100.OnCustomEvent 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Called by tasks to raise custom task-defined events.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리:  Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)

구문

‘선언
Sub OnCustomEvent ( _
    pTaskHost As IDTSTaskHost100, _
    EventName As String, _
    EventText As String, _
    ByRef ppsaArguments As Object(), _
    SubComponent As String, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
‘사용 방법
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
)

매개 변수

  • EventText
    유형: System.String
    The text that describes the event.
  • ppsaArguments
    유형: array<System.Object[]%
    An array of arguments to pass to the event.
  • SubComponent
    유형: System.String
    A String that contains more detail about the event source.
  • pbFireAgain
    유형: System.Boolean%
    A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

주의

For more information, see IDTSEvents.

참고 항목

참조

IDTSEvents100 인터페이스

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스