다음을 통해 공유


SuspendRequired 속성

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

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
어셈블리:  Microsoft.SqlServer.ActiveXScriptTask(Microsoft.SqlServer.ActiveXScriptTask.dll)

구문

‘선언
Public Property SuspendRequired As Boolean
    Get
    Set
‘사용 방법
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)

속성 값

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

구현

IDTSSuspend. . :: . .SuspendRequired

주의

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.

중요 정보중요

이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.