Condividi tramite


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.

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask
Assembly : Microsoft.SqlServer.SQLTask (in microsoft.sqlserver.sqltask.dll)

Sintassi

'Dichiarazione
<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

Osservazioni

For more information about the features of this task, see Attività Esegui 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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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