Bagikan melalui


IDTSSuspend Interface

Provides methods and properties that are called by the run-time engine to notify tasks to suspend execution.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Interface IDTSSuspend
'Usage
Dim instance As IDTSSuspend
public interface IDTSSuspend
public interface class IDTSSuspend
type IDTSSuspend =  interface end
public interface IDTSSuspend

The IDTSSuspend type exposes the following members.

Properties

  Name Description
Public property SuspendRequired Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.

Top

Methods

  Name Description
Public method ResumeExecution Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
Public method SuspendExecution Indicates that the executable needs to suspend. This method is called by the runtime engine.

Top

Remarks

For more information about using this interface in custom task development, see Adding Support for Debugging in a Custom Task.