BreakpointManager Class

Definition

Manages all the breakpoints that are set in on a task. This class cannot be inherited.

public ref class BreakpointManager sealed : Microsoft::SqlServer::Dts::Runtime::DtsObject
public sealed class BreakpointManager : Microsoft.SqlServer.Dts.Runtime.DtsObject
type BreakpointManager = class
    inherit DtsObject
Public NotInheritable Class BreakpointManager
Inherits DtsObject
Inheritance
BreakpointManager

Remarks

Tasks create breakpoints by calling the CreateBreakpointTarget method of the BreakpointManager and providing an ID and description of the breakpoint as parameters to the method. When a task reaches the point in its code that contains the breakpoint, it evaluates the breakpoint to see if it should suspend execution. Execution is suspended if the IsBreakpointTargetEnabled is true. If true, the task notifies the run-time engine by raising the OnBreakpointHit event. For information about custom breakpoints, see Adding Support for Debugging in a Custom Task.

Methods

ClearBreakpointTargets()

Removes all the breakpoints set in a task.

CreateBreakpointTarget(Int32, String)

Creates a new breakpoint in the task with the specified breakpoint ID and description.

Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetBreakpointTarget(Int32)

Returns the breakpoint object for a specific breakpoint ID.

GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
IsBreakpointTargetEnabled(Int32)

A Boolean that indicates if the breakpoint is enabled.

RemoveBreakpointTarget(Int32)

Removes a previously created breakpoint from a task.

Applies to