ScriptTask.ScriptLoaded Property

Gets a value indicating whether the task contains custom script.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly:  Microsoft.SqlServer.ScriptTask (in Microsoft.SqlServer.ScriptTask.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property ScriptLoaded As Boolean 
    Get
'Usage
Dim instance As ScriptTask 
Dim value As Boolean 

value = instance.ScriptLoaded
[BrowsableAttribute(false)]
public bool ScriptLoaded { get; }
[BrowsableAttribute(false)]
public:
property bool ScriptLoaded {
    bool get ();
}
[<BrowsableAttribute(false)>]
member ScriptLoaded : bool
function get ScriptLoaded () : boolean

Property Value

Type: System.Boolean
true if the component contains a script; otherwise, false. The default value is false.

Remarks

ScriptLoaded is initially set to false. The value is set to true when you click Design Script in the user interface for the task.

See Also

Reference

ScriptTask Class

Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace