Share via


TaskHostClass.Disable 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 TaskHostClass 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 TaskHostClass 
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
true if the TaskHostClass object is disabled; otherwise, false.

Implements

IDTSContainer100.Disable

See Also

Reference

TaskHostClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace