共用方式為


ExecuteSQLTask Class

Contains the members used to configure and run an Execute SQL task. The Execute SQL task is used to execute SQL commands against a relational database table or view.

命名空間: Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask
組件: Microsoft.SqlServer.SQLTask (in microsoft.sqlserver.sqltask.dll)

語法

'宣告
<GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F")> _
Public Class ExecuteSQLTask
    Inherits Task
    Implements IDTSExecuteSQL, IDTSComponentPersist
[GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F")] 
public class ExecuteSQLTask : Task, IDTSExecuteSQL, IDTSComponentPersist
[GuidAttribute(L"3E0AAEAA-F8DC-370D-9206-0FC456CE748F")] 
public ref class ExecuteSQLTask : public Task, IDTSExecuteSQL, IDTSComponentPersist
/** @attribute GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F") */ 
public class ExecuteSQLTask extends Task implements IDTSExecuteSQL, IDTSComponentPersist
GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F") 
public class ExecuteSQLTask extends Task implements IDTSExecuteSQL, IDTSComponentPersist

備註

For more information about the features of this task, see 執行 SQL 工作.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask
         Microsoft.SqlServer.Management.DatabaseMaintenance.DatabaseMaintenanceBaseTask

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

ExecuteSQLTask Members
Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask Namespace