Classe BreakpointManager

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Utilisation
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

Le type BreakpointManager expose les membres suivants.

Méthodes

  Nom Description
Méthode publique ClearBreakpointTargets Removes all the breakpoints set in a task.
Méthode publique CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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 Ajout de la prise en charge du débogage dans une tâche personnalisée.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.