BreakpointManager 類別
Manages all the breakpoints that are set in on a task. This class cannot be inherited.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime..::..BreakpointManager
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public NotInheritable Class BreakpointManager _
Inherits DtsObject
'用途
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
BreakpointManager 型別公開下列成員。
方法
名稱 | 說明 | |
---|---|---|
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. (繼承自 DtsObject。) | |
Finalize | (繼承自 Object。) | |
GetBreakpointTarget | Returns the breakpoint object for a specific breakpoint ID. | |
GetHashCode | Returns the hash code for this instance. (繼承自 DtsObject。) | |
GetType | (繼承自 Object。) | |
IsBreakpointTargetEnabled | A Boolean that indicates if the breakpoint is enabled. | |
MemberwiseClone | (繼承自 Object。) | |
RemoveBreakpointTarget | Removes a previously created breakpoint from a task. | |
ToString | (繼承自 Object。) |
上層
備註
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 新增自訂工作中的偵錯支援.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。