共用方式為


ScriptTask.ScriptLoaded 屬性

Gets a value indicating whether the task contains custom script.

命名空間:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件:  Microsoft.SqlServer.ScriptTask (在 Microsoft.SqlServer.ScriptTask.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property ScriptLoaded As Boolean 
    Get
'用途
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

屬性值

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

備註

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

請參閱

參考

ScriptTask 類別

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間