Share via


TaskHostClass.DisableEventHandlers Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether the event handlers on task are disabled.

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

Syntax

'Declaration
Public Overridable Property DisableEventHandlers As Boolean 
    Get 
    Set
'Usage
Dim instance As TaskHostClass 
Dim value As Boolean 

value = instance.DisableEventHandlers

instance.DisableEventHandlers = value
public virtual bool DisableEventHandlers { get; set; }
public:
virtual property bool DisableEventHandlers {
    bool get ();
    void set (bool value);
}
abstract DisableEventHandlers : bool with get, set 
override DisableEventHandlers : bool with get, set
function get DisableEventHandlers () : boolean 
function set DisableEventHandlers (value : boolean)

Property Value

Type: System.Boolean
true if the event handlers on task are disabled; otherwise, false.

Implements

IDTSEventsProvider100.DisableEventHandlers

See Also

Reference

TaskHostClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace