AllowEventHandlers 属性

Returns a Boolean that indicates if the development tool, Business Intelligence Development Studio, will allow event handlers to be created in the package. This property applies to custom events created for a custom task.

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

语法

声明
Public ReadOnly Property AllowEventHandlers As Boolean
    Get
用法
Dim instance As EventInfo
Dim value As Boolean

value = instance.AllowEventHandlers
public bool AllowEventHandlers { get; }
public:
property bool AllowEventHandlers {
    bool get ();
}
member AllowEventHandlers : bool
function get AllowEventHandlers () : boolean

属性值

类型:System. . :: . .Boolean
Returns a Boolean that indicates if the development tool will allow event handler objects to be created for the event. If true, event handler objects can be created for the event. This property applies only to custom events that you have created for your custom task. For more information, see 在自定义任务中引发和定义事件.