Classe BreakpointManager
Manages all the breakpoints that are set in on a task. This class cannot be inherited.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.BreakpointManager
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class BreakpointManager _
Inherits DtsObject
'Utilizzo
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
Nel tipo BreakpointManager sono esposti i membri seguenti.
Metodi
Nome | Descrizione | |
---|---|---|
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. Ereditato da DtsObject. | |
GetBreakpointTarget | Returns the breakpoint object for a specific breakpoint ID. | |
GetHashCode | Returns the hash code for this instance. Ereditato da DtsObject. | |
GetType | Ereditato da Object. | |
IsBreakpointTargetEnabled | A Boolean that indicates if the breakpoint is enabled. | |
RemoveBreakpointTarget | Removes a previously created breakpoint from a task. | |
ToString | Ereditato da Object. |
In alto
Osservazioni
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 Aggiunta di supporto per il debug in un'attività personalizzata.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.