Элементы ExecuteProcess

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

Тип ExecuteProcess предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ExecuteProcess Initializes a new instance of the ExecuteProcess class.

В начало

Методы

  Имя Описание
Открытый метод CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (Наследуется из Task.)
Открытый метод Equals Determines whether two object instances are equal. (Наследуется из DtsObject.)
Открытый метод Execute Runs the task. (Перезаписывает Task. . :: . .Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object).)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetConnectionID Gets a String containing the ID of the connection. (Наследуется из Task.)
Открытый метод GetConnectionName Gets a String containing the name of the connection. (Наследуется из Task.)
Открытый метод GetHashCode Returns the hash code for this instance. (Наследуется из DtsObject.)
Открытый метод GetType (Наследуется из Object.)
Открытый метод InitializeTask Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (Перезаписывает Task. . :: . .InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker).)
Открытый метод LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Открытый метод ToString (Наследуется из Object.)
Открытый метод Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (Наследуется из Task.)
Открытый метод Validate Verifies that the component is properly configured. (Перезаписывает Task. . :: . .Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging).)

В начало

Свойства

  Имя Описание
Открытое свойство Arguments Gets or sets command prompt arguments. The string can contain multiple arguments separated by a space.
Открытое свойство Executable Gets or sets the name of the Microsoft Win32 executable file or batch file to run when the package runs.
Открытое свойство ExecutionValue Returns a user-defined object. This property is read-only. (Перезаписывает Task. . :: . .ExecutionValue.)
Открытое свойство 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.
Открытое свойство RequireFullFileName Gets or sets a Boolean that indicates whether the full name and extension of the task is required.
Открытое свойство StandardErrorVariable Gets or sets the name of the variable used to capture the error output of the process to be run.
Открытое свойство StandardInputVariable Gets or sets the name of the variable to be used as an input to the process to be run.
Открытое свойство StandardOutputVariable Gets or sets the name of the variable used to capture the output of the process to be run.
Открытое свойство SuccessValue Gets or sets the value returned by the executable or batch file that indicates success.
Открытое свойство 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.
Открытое свойство TimeOut Gets or sets the number of seconds that the task allows the process to run.
Открытое свойство Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (Наследуется из Task.)
Открытое свойство WindowStyle Gets or sets the style of the window to run the process in.
Открытое свойство WorkingDirectory Gets or sets the directory in which the files specified in the Arguments property can be found.

В начало