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 命名空间