共用方式為


ActiveXScriptTask Class

Enables migration for ActiveX scripts created in SQL Server 2000. The ActiveXScriptTask is not intended for future use. This class cannot be inherited.

命名空間: Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
組件: Microsoft.SqlServer.ActiveXScriptTask (in microsoft.sqlserver.activexscripttask.dll)

語法

'宣告
Public NotInheritable Class ActiveXScriptTask
    Inherits Task
    Implements IDTSComponentPersist, IDTSActiveXScriptTask, IDTSBreakpointSite, IDTSSuspend
public sealed class ActiveXScriptTask : Task, IDTSComponentPersist, IDTSActiveXScriptTask, IDTSBreakpointSite, 
    IDTSSuspend
public ref class ActiveXScriptTask sealed : public Task, IDTSComponentPersist, IDTSActiveXScriptTask, IDTSBreakpointSite, 
    IDTSSuspend
public final class ActiveXScriptTask extends Task implements IDTSComponentPersist, IDTSActiveXScriptTask, 
    IDTSBreakpointSite, IDTSSuspend
public final class ActiveXScriptTask extends Task implements IDTSComponentPersist, IDTSActiveXScriptTask, 
    IDTSBreakpointSite, IDTSSuspend

備註

The task is a successor in SQL Server 2005 for the legacy ActiveX script tasks. Any legacy tasks that use macros defined in SQL Server 2000 will not run in SQL Server 2005. The task can run VBScript and JScript without accessing the Integration Services programming model.

ms214657.note(zh-tw,SQL.90).gif重要事項:
下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask.ActiveXScriptTask

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ActiveXScriptTask Members
Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask Namespace