ActiveXScriptTask.SuspendExecution Method

Indicates that the executable needs to suspend.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
Assembly:  Microsoft.SqlServer.ActiveXScriptTask (in Microsoft.SqlServer.ActiveXScriptTask.dll)

Syntax

'Declaration
Public Sub SuspendExecution
'Usage
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()

Implements

IDTSSuspend.SuspendExecution()

Remarks

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.

Important

This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.