Condividi tramite


Metodo SuspendExecution

Indicates that the executable needs to suspend.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
Assembly:  Microsoft.SqlServer.ActiveXScriptTask (in Microsoft.SqlServer.ActiveXScriptTask.dll)

Sintassi

'Dichiarazione
Public Sub SuspendExecution
'Utilizzo
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()

Implementa

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

Osservazioni

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.

Nota importanteImportante

Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.