ActiveXScriptTask.SuspendRequired Property

Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint.

命名空間: Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
組件: Microsoft.SqlServer.ActiveXScriptTask (in microsoft.sqlserver.activexscripttask.dll)

語法

'宣告
Public Property SuspendRequired As Boolean
public bool SuspendRequired { get; set; }
public:
virtual property bool SuspendRequired {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_SuspendRequired ()

/** @property */
public final void set_SuspendRequired (boolean value)
public final function get SuspendRequired () : boolean

public final function set SuspendRequired (value : boolean)

屬性值

true indicates that the task suspends. false indicates that the task does not suspend.

備註

When the run-time engine receives an OnBreakpointHit event from a task, it calls the SuspendExecution method for each executing task, notifying the task to pause execution.

Because there may be a significant delay between the time a task first receives a suspend call and the time it can actually suspends, the SuspendRequired property is set to indicate if a suspend action is still required. If this property is set to false, the task can immediately return from the suspend call.

ms209313.note(zh-tw,SQL.90).gif重要事項:
下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

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