Compartilhar via


Classe ExecuteProcess

Runs an application or batch file as part of a package workflow. This class cannot be inherited.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly:  Microsoft.SqlServer.ExecProcTask (em Microsoft.SqlServer.ExecProcTask.dll)

Sintaxe

'Declaração
<GuidAttribute("730F5F89-3336-4568-B2D1-7E8A26E2796F")> _
Public NotInheritable Class ExecuteProcess _
    Inherits Task _
    Implements IDTSExecuteProcess, IDTSComponentPersist
'Uso
Dim instance As ExecuteProcess
[GuidAttribute("730F5F89-3336-4568-B2D1-7E8A26E2796F")]
public sealed class ExecuteProcess : Task, 
    IDTSExecuteProcess, IDTSComponentPersist
[GuidAttribute(L"730F5F89-3336-4568-B2D1-7E8A26E2796F")]
public ref class ExecuteProcess sealed : public Task, 
    IDTSExecuteProcess, IDTSComponentPersist
[<SealedAttribute>]
[<GuidAttribute("730F5F89-3336-4568-B2D1-7E8A26E2796F")>]
type ExecuteProcess =  
    class
        inherit Task
        interface IDTSExecuteProcess
        interface IDTSComponentPersist
    end
public final class ExecuteProcess extends Task implements IDTSExecuteProcess, IDTSComponentPersist

Comentários

Although you can use the ExecuteProcess task to open any standard application, such as Microsoft Excel or Microsoft Word, you typically use it to run business applications or batch files that work against a data source.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.