Microsoft.SqlServer.ExecProcTask
The namespace contains the classes used by the Execute Process task.
Runs an application or batch file as part of a package workflow. This class cannot be inherited.
Initializes a new instance of the class.
Runs the task.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object implementing the interface.
An object implementing the interface.
The transaction object that the container is a part of. This value can be null.
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
A collection of connections used by the task.
A object for locking variables.
An object implementing the interface.
An object implementing the interface.
A collection containing events to be raised during execution of the task.
A collection of log entries.
An object reference tracker.
This method is not callable by your application code. To load a package saved as .xml, use the method.
The node containing the object to be loaded and persisted.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
This method is not callable by your application code. To save a package as .xml, use the method.
The XML document to save the information to.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
Verifies that the component is properly configured.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
Gets or sets command prompt arguments. The string can contain multiple arguments separated by a space.
A String that contains the command prompt argument or arguments.
Gets or sets the name of the Microsoft Win32 executable file or batch file to run when the package runs.
A String that contains the name of the Microsoft Win32 executable file or batch file to run when the package runs.
Returns a user-defined object. This property is read-only.
A user-defined object.
Gets or sets a Boolean that indicates whether the task fails if the process exit code is different from the value specified in .
true if the task fails if the process exit code is different from the value specified in ; false if the task continues regardless of a mismatch between the process error code and the property.
Gets or sets a Boolean that indicates whether the full name and extension of the task is required.
true if the full name and extension of the task is required. If set to true, the task should fail when the full file name for the executable cannot be found. Default value is true.
Gets or sets the name of the variable used to capture the error output of the process to be run.
A String that contains the name of the variable used to capture the error output of the process to be run.
Gets or sets the name of the variable to be used as an input to the process to be run.
A String that contains the name of the variable to be used as an input to the process to be run.
Gets or sets the name of the variable used to capture the output of the process to be run.
A String that contains the name of the variable used to capture the output of the process to be run.
Gets or sets the value returned by the executable or batch file that indicates success.
An Integer that contains the value returned by the executable or batch file that indicates success. By default this value is set to 0.
Gets or sets a Boolean that indicates whether the process is forced to end after the time-out period specified by the property.
true if the process is forced to end after the time-out period specified by the property. false if the process can continue to run regardless of the time-out period.
Gets or sets the number of seconds that the task allows the process to run.
An Integer that indicates the number of seconds that the task allows the process to run. A value of 0 indicates that no time-out value is used, and the process runs to completion or until an error occurs.
Gets or sets the style of the window to run the process in.
A ProcessWindowStyle enumeration value indicating how the window appears when the process runs. Valid values include Normal, Maximized, Minimized or Hidden. For more information, see ProcessWindowStyle Enumeration in the .NET Framework Class Library.
Gets or sets the directory in which the files specified in the property can be found.
A String that contains the directory in which the files specified in the property can be found.