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 | |
---|---|---|
ClearBreakpointTargets | Removes all the breakpoints set in a task. | |
CreateBreakpointTarget | Creates a new breakpoint in the task with the specified breakpoint ID and description. | |
Equals | Determines whether two object instances are equal. (Se hereda de DtsObject.) | |
GetBreakpointTarget | Returns the breakpoint object for a specific breakpoint ID. | |
GetHashCode | Returns the hash code for this instance. (Se hereda de DtsObject.) | |
GetType | (Se hereda de Object.) | |
IsBreakpointTargetEnabled | A Boolean that indicates if the breakpoint is enabled. | |
RemoveBreakpointTarget | Removes a previously created breakpoint from a task. | |
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.