共用方式為


IDTSExecuteProcess 介面

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Represents an interface for the ExecuteProcess.

命名空間:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件:  Microsoft.SqlServer.ExecProcTask (在 Microsoft.SqlServer.ExecProcTask.dll 中)

語法

'宣告
Public Interface IDTSExecuteProcess
'用途
Dim instance As IDTSExecuteProcess
public interface IDTSExecuteProcess
public interface class IDTSExecuteProcess
type IDTSExecuteProcess =  interface end
public interface IDTSExecuteProcess

IDTSExecuteProcess 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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 files to run when the package runs.
公用屬性 FailTaskIfReturnCodeIsNotSuccessValue 基礎結構。Gets or sets a value that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.
公用屬性 RequireFullFileName 基礎結構。Gets or sets a value 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 value 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.
公用屬性 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.

上層

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess 命名空間