Share via


EventHandlerClass.Disable Property

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

Gets a Boolean that indicates whether the EventHandlerClass object is disabled.

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

Syntax

'Declaration
Public Overridable Property Disable As Boolean 
    Get 
    Set
'Usage
Dim instance As EventHandlerClass 
Dim value As Boolean 

value = instance.Disable

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

Property Value

Type: System.Boolean
A Boolean that indicates if the object is disabled. If true, the EventHandlerClass is disabled and the object will not execute.

Implements

IDTSContainer100.Disable

See Also

Reference

EventHandlerClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace