Compartir a través de


ExecuteSQLTask Clase

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.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask
Ensamblado:  Microsoft.SqlServer.SQLTask (en Microsoft.SqlServer.SQLTask.dll)

Sintaxis

'Declaración
<GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F")> _
Public Class ExecuteSQLTask _
    Inherits Task _
    Implements IDTSExecuteSQL, IDTSComponentPersist
'Uso
Dim instance As ExecuteSQLTask
[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
[<GuidAttribute("3E0AAEAA-F8DC-370D-9206-0FC456CE748F")>]
type ExecuteSQLTask =  
    class
        inherit Task
        interface IDTSExecuteSQL
        interface IDTSComponentPersist
    end
public class ExecuteSQLTask extends Task implements IDTSExecuteSQL, IDTSComponentPersist

Notas

For more information about the features of this task, see Tarea Ejecutar SQL.

Ejemplos

For a community sample that demonstrates how to add and configure an Execute SQL Task, see the blog entry, Creating packages in code -- Execute SQL Task, on sqlis.com.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime. . :: . .Task
      Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask..::..ExecuteSQLTask

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.