Export (0) Print
Expand All

WmiEventWatcherTask.SuspendRequired Property

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.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

final function get SuspendRequired () : boolean 
final function set SuspendRequired (value : boolean)

Property Value

Type: Boolean
true if the task suspends when it encounters a breakpoint.

Implements

IDTSSuspend.SuspendRequired

The property is not set in code. It is set by the runtime for tasks and containers when a breakpoint is encountered.

However, you will need to provide code for this method, which is inherited from the IDTSSuspend class, if you write a multi-threaded custom task that exposes breakpoints. If your task is single threaded, which means that your implementation of Execute in your custom task does not start new threads, you do not need to implement this interface. For more information on writing custom tasks, see Developing a Custom Task.

The following code example is an example of an overridden SuspendRequired property for a custom task.

No code example is currently available or this language may not be supported.

Community Additions

ADD
Show:
© 2015 Microsoft