Compartilhar via


Propriedade do RDL SuspendRequired

Gets or sets a Boolean that indicates whether tasks should suspend when they encounter a breakpoint.

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

Sintaxe

'Declaração
Public Property SuspendRequired As Boolean
    Get
    Set
'Uso
Dim instance As ActiveXScriptTask
Dim value As Boolean

value = instance.SuspendRequired

instance.SuspendRequired = value
public bool SuspendRequired { get; set; }
public:
virtual property bool SuspendRequired {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract SuspendRequired : bool with get, set
override SuspendRequired : bool with get, set
final function get SuspendRequired () : boolean
final function set SuspendRequired (value : boolean)

Valor da propriedade

Tipo: System. . :: . .Boolean
true indicates that the task suspends. false indicates that the task does not suspend.

Implementa

IDTSSuspend. . :: . .SuspendRequired

Comentários

When the run-time engine receives an OnBreakpointHit event from a task, it calls the SuspendExecution method for each executing task, notifying the task to pause execution.

Because there may be a significant delay between the time a task first receives a suspend call and the time it can actually suspends, the SuspendRequired property is set to indicate if a suspend action is still required. If this property is set to false, the task can immediately return from the suspend call.

Observação importanteImportante

Esse recurso será removido na próxima versão do Microsoft SQL Server. Não utilize esse recurso em desenvolvimentos novos e modifique, assim que possível, os aplicativos que atualmente o utilizam.