ScriptTask.ExecutionValue Property

Returns a user-defined object. This field is read-only.

命名空间: Microsoft.SqlServer.Dts.Tasks.ScriptTask
程序集: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

语法

声明
Public Overrides ReadOnly Property ExecutionValue As Object
public override Object ExecutionValue { get; }
public:
virtual property Object^ ExecutionValue {
    Object^ get () override;
}
/** @property */
public Object get_ExecutionValue ()
public override function get ExecutionValue () : Object

属性值

A user-defined object.

备注

The ExecutionValue property of the Task class is a read-only object property that gives the task the ability to return additional information about the results of task execution. For example, if a task deletes rows from a table as part of a call to its Execute method, the task might return the number of rows deleted as the ExecutionValue. Clients of the task could then use this value to establish precedence constraints between tasks.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ScriptTask Class
ScriptTask Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace