Freigeben über


BreakpointManager-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.BreakpointManager

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

Syntax

'Declaration
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Usage
Dim instance As BreakpointManager
public sealed class BreakpointManager : DtsObject
public ref class BreakpointManager sealed : public DtsObject
[<SealedAttribute>]
type BreakpointManager =  
    class 
        inherit DtsObject 
    end
public final class BreakpointManager extends DtsObject

Der BreakpointManager-Typ macht folgende Elemente verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode ClearBreakpointTargets Removes all the breakpoints set in a task.
Öffentliche Methode CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Öffentliche Methode Equals Determines whether two object instances are equal. (Geerbt von DtsObject.)
Öffentliche Methode GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Öffentliche Methode GetHashCode Returns the hash code for this instance. (Geerbt von DtsObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Öffentliche Methode RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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 Bereitstellen von Unterstützung für das Debuggen in einem benutzerdefinierten Task.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace