IDTSExecuteProcess.SuccessValue 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets the value returned by the executable or batch file that indicates success.

命名空间:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
程序集:  Microsoft.SqlServer.ExecProcTask(在 Microsoft.SqlServer.ExecProcTask.dll 中)

语法

声明
Property SuccessValue As Integer 
    Get 
    Set
用法
Dim instance As IDTSExecuteProcess 
Dim value As Integer 

value = instance.SuccessValue

instance.SuccessValue = value
int SuccessValue { get; set; }
property int SuccessValue {
    int get ();
    void set (int value);
}
abstract SuccessValue : int with get, set
function get SuccessValue () : int 
function set SuccessValue (value : int)

属性值

类型:System.Int32
An Integer that contains the value returned by the executable or batch file that indicates success. By default this value is set to 0.

请参阅

参考

IDTSExecuteProcess 接口

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