ScriptTask Constructor ()

 

Initializes a new instance of the ScriptTask class.

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

public:
ScriptTask()

Although you can call the task constructor, you typically create the task as a member of a package.

In the following example, the properties and methods of the ScriptTask are available using Properties of the TaskHost variable, th. For more information about casting the task, see the remarks in Add.

No code example is currently available or this language may not be supported.

The following code sample creates a new ScriptTask by using the constructor.

No code example is currently available or this language may not be supported.
Return to top
Show: