FireCustomEvent 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
程序集:  Microsoft.SqlServer.ScriptTask(在 Microsoft.SqlServer.ScriptTask.dll 中)

语法

声明
Public Sub FireCustomEvent ( _
    eventName As String, _
    eventText As String, _
    ByRef arguments As Object(), _
    subComponent As String, _
    ByRef fireAgain As Boolean _
)
用法
Dim instance As EventsObjectWrapper
Dim eventName As String
Dim eventText As String
Dim arguments As Object()
Dim subComponent As String
Dim fireAgain As Boolean

instance.FireCustomEvent(eventName, eventText, _
    arguments, subComponent, fireAgain)
public void FireCustomEvent(
    string eventName,
    string eventText,
    ref Object[] arguments,
    string subComponent,
    ref bool fireAgain
)
public:
void FireCustomEvent(
    String^ eventName, 
    String^ eventText, 
    array<Object^>^% arguments, 
    String^ subComponent, 
    bool% fireAgain
)
member FireCustomEvent : 
        eventName:string * 
        eventText:string * 
        arguments:Object[] byref * 
        subComponent:string * 
        fireAgain:bool byref -> unit 
public function FireCustomEvent(
    eventName : String, 
    eventText : String, 
    arguments : Object[], 
    subComponent : String, 
    fireAgain : boolean
)

参数