EventInfo.AllowEventHandlers Property

 

Applies To: SQL Server 2016 Preview

Returns a Boolean that indicates if the development tool, SQL Server Data Tools (SSDT), will allow event handlers to be created in the package. This property applies to custom events created for a custom task.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

public bool AllowEventHandlers { get; }
public:
property bool AllowEventHandlers {
    bool get();
}
member AllowEventHandlers : bool with get
Public ReadOnly Property AllowEventHandlers As Boolean

Property Value

Type: 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 Raising and Defining Events in a Custom Task.

See Also

EventInfo Class
Microsoft.SqlServer.Dts.Runtime Namespace

Return to top