Propriedade 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.

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

Sintaxe

public bool AllowEventHandlers { get; }

Valor da propriedade

Tipo: 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 Gerando e definindo eventos em uma tarefa personalizada.