PackageClass.GetBreakpointTargets 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Returns an IDTSBreakpointTargets100 collection. Depending on the setting of the onlyEnabled parameter, the collection contains all breakpoint targets in the package, or only enabled breakpoint targets.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Public Overridable Function GetBreakpointTargets ( _
    pBreakpointSite As IDTSBreakpointSite100, _
    onlyEnabled As Boolean _
) As IDTSBreakpointTargets100
用法
Dim instance As PackageClass 
Dim pBreakpointSite As IDTSBreakpointSite100 
Dim onlyEnabled As Boolean 
Dim returnValue As IDTSBreakpointTargets100 

returnValue = instance.GetBreakpointTargets(pBreakpointSite, _
    onlyEnabled)
public virtual IDTSBreakpointTargets100 GetBreakpointTargets(
    IDTSBreakpointSite100 pBreakpointSite,
    bool onlyEnabled
)
public:
virtual IDTSBreakpointTargets100^ GetBreakpointTargets(
    [InAttribute] IDTSBreakpointSite100^ pBreakpointSite, 
    [InAttribute] bool onlyEnabled
)
abstract GetBreakpointTargets : 
        pBreakpointSite:IDTSBreakpointSite100 * 
        onlyEnabled:bool -> IDTSBreakpointTargets100  
override GetBreakpointTargets : 
        pBreakpointSite:IDTSBreakpointSite100 * 
        onlyEnabled:bool -> IDTSBreakpointTargets100
public function GetBreakpointTargets(
    pBreakpointSite : IDTSBreakpointSite100, 
    onlyEnabled : boolean
) : IDTSBreakpointTargets100

参数

  • onlyEnabled
    类型:System.Boolean
    true to indicate that only enabled breakpoints are included in the collection; false to indicate that all breakpoint targets are included in the collection.

返回值

类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointTargets100
An IDTSBreakpointTargets100 collection.

实现

IDTSPackage100.GetBreakpointTargets(IDTSBreakpointSite100, Boolean)

注释

For more information, see Package.

请参阅

参考

PackageClass 类

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间