ActiveXScriptTask.SuspendExecution Method

Indicates that the executable needs to suspend.

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

语法

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

ms193239.note(zh-cn,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