Share via


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
public void SuspendExecution ()
public:
virtual void SuspendExecution () sealed
public final void SuspendExecution ()
public final function 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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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