SuspendExecution 方法

Indicates that the executable needs to suspend.

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

語法

'宣告
Public Sub SuspendExecution
'用途
Dim instance As ActiveXScriptTask

instance.SuspendExecution()
public void SuspendExecution()
public:
virtual void SuspendExecution() sealed
abstract SuspendExecution : unit -> unit 
override SuspendExecution : unit -> unit 
public final function SuspendExecution()

實作

IDTSSuspend. . :: . .SuspendExecution() () () ()

備註

If the SuspendRequired property is set to false, the task can immediately return from the suspend call. A task should not return from this call until it is in a suspended state. Each SuspendExecution call will have a corresponding ResumeExecution call. SuspendExecution and ResumeExecution calls are not to be nested.

重要事項重要事項

下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。