Compartir a través de


Clase BreakpointManager

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Uso
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

El tipo BreakpointManager expone los siguientes miembros.

Métodos

  Nombre Descripción
Método público ClearBreakpointTargets Removes all the breakpoints set in a task.
Método público CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método protegido Finalize (Se hereda de Object.)
Método público GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetType (Se hereda de Object.)
Método público IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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 Agregar compatibilidad con la depuración de una tarea personalizada.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.