Compartir a través de


ExecuteProcess Members

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

The following tables list the members exposed by the ExecuteProcess type.

Public Constructors

  Nombre Description
ExecuteProcess Initializes a new instance of the ExecuteProcess class.

Arriba

Public Properties

  Nombre Description
ms214894.pubproperty(es-es,SQL.90).gif Arguments Gets or sets command prompt arguments. The string can contain multiple arguments separated by a space.
ms214894.pubproperty(es-es,SQL.90).gif Executable Gets or sets the name of the Microsoft Win32 executable file or batch file to run when the package runs.
ms214894.pubproperty(es-es,SQL.90).gif ExecutionValue Overridden. Returns a user-defined object. This property is read-only.
ms214894.pubproperty(es-es,SQL.90).gif FailTaskIfReturnCodeIsNotSuccessValue Gets or sets a Boolean that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.
ms214894.pubproperty(es-es,SQL.90).gif RequireFullFileName Gets or sets a Boolean that indicates whether the full name and extension of the task is required.
ms214894.pubproperty(es-es,SQL.90).gif StandardErrorVariable Gets or sets the name of the variable used to capture the error output of the process to be run.
ms214894.pubproperty(es-es,SQL.90).gif StandardInputVariable Gets or sets the name of the variable to be used as an input to the process to be run.
ms214894.pubproperty(es-es,SQL.90).gif StandardOutputVariable Gets or sets the name of the variable used to capture the output of the process to be run.
ms214894.pubproperty(es-es,SQL.90).gif SuccessValue Gets or sets the value returned by the executable or batch file that indicates success.
ms214894.pubproperty(es-es,SQL.90).gif TerminateProcessAfterTimeOut Gets or sets a Boolean that indicates whether the process is forced to end after the time-out period specified by the TimeOut property.
ms214894.pubproperty(es-es,SQL.90).gif TimeOut Gets or sets the number of seconds that the task allows the process to run.
ms214894.pubproperty(es-es,SQL.90).gif Version  Returns the version of the task. This property is read-only. (inherited from Task)
ms214894.pubproperty(es-es,SQL.90).gif WaitForMe  Returns a Boolean that indicates whether the parent container should wait for completion of this task. This property is read-only. (inherited from Task)
ms214894.pubproperty(es-es,SQL.90).gif WindowStyle Gets or sets the style of the window to run the process in.
ms214894.pubproperty(es-es,SQL.90).gif WorkingDirectory Gets or sets the directory in which the files specified in the Arguments property can be found.

Arriba

Public Methods

(see also Protected Methods )

  Nombre Description
ms214894.pubmethod(es-es,SQL.90).gif CanUpdate  (inherited from Task )
ms214894.pubmethod(es-es,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms214894.pubmethod(es-es,SQL.90).gif Execute Overridden. Runs the task.
ms214894.pubmethod(es-es,SQL.90).gif GetConnectionID  (inherited from Task )
ms214894.pubmethod(es-es,SQL.90).gif GetConnectionName  (inherited from Task )
ms214894.pubmethod(es-es,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms214894.pubmethod(es-es,SQL.90).gif GetType  (inherited from Object )
ms214894.pubmethod(es-es,SQL.90).gif InitializeTask Overridden. Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
ms214894.pubmethod(es-es,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms214894.pubmethod(es-es,SQL.90).gifms214894.static(es-es,SQL.90).gif op_Equality  (inherited from DtsObject )
ms214894.pubmethod(es-es,SQL.90).gifms214894.static(es-es,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms214894.pubmethod(es-es,SQL.90).gifms214894.static(es-es,SQL.90).gif ReferenceEquals  (inherited from Object )
ms214894.pubmethod(es-es,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms214894.pubmethod(es-es,SQL.90).gif ToString  (inherited from Object )
ms214894.pubmethod(es-es,SQL.90).gif Update  (inherited from Task )
ms214894.pubmethod(es-es,SQL.90).gif Validate Overridden. Verifies that the component is properly configured.

Arriba

Protected Methods

  Nombre Description
ms214894.protmethod(es-es,SQL.90).gif Finalize  (inherited from Object )
ms214894.protmethod(es-es,SQL.90).gif MemberwiseClone  (inherited from Object )

Arriba

Vea también

Referencia

ExecuteProcess Class
Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace