Dela via


ActiveXScriptTask.ScriptText Property

Gets or sets the script to run.

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

Syntax

'Declaration
Public Property ScriptText As String
    Get
    Set
'Usage
Dim instance As ActiveXScriptTask
Dim value As String

value = instance.ScriptText

instance.ScriptText = value
public string ScriptText { get; set; }
public:
virtual property String^ ScriptText {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ScriptText : string with get, set
override ScriptText : string with get, set
final function get ScriptText () : String
final function set ScriptText (value : String)

Property Value

Type: System.String
A String that contains the text of the script.

Implements

IDTSActiveXScriptTask.ScriptText

Remarks

Important

This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.