Share via


PackageClass.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 PackageClass 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 PackageClass 
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 PackageClass object is disabled; otherwise, false.

Implements

IDTSContainer100.Disable

Remarks

For more information, see Package.

See Also

Reference

PackageClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace