IDTSCustomPropertyCollection100 接口

定义

包含 IDTSCustomProperty100 对象的集合。

public interface class IDTSCustomPropertyCollection100 : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("6572CF14-47A2-4D56-9D97-724519547028")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("3C88E98B-D1B8-4D9E-B66E-E8A9A687618A")]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("FC9C6EB3-F689-47CA-AAC9-C0F0BEEE5B6B")]
public interface IDTSCustomPropertyCollection100 : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("6572CF14-47A2-4D56-9D97-724519547028")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("3C88E98B-D1B8-4D9E-B66E-E8A9A687618A")>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("FC9C6EB3-F689-47CA-AAC9-C0F0BEEE5B6B")>]
type IDTSCustomPropertyCollection100 = interface
    interface IEnumerable
Public Interface IDTSCustomPropertyCollection100
Implements IEnumerable
属性
实现

注解

自定义属性为数据流对象提供了一种机制,用于公开接口本身中实现的其他属性。 例如,OLE DB 源适配器包含一个自定义属性,允许用户为数据源指定 SQL 语句。

在调用ProvideComponentProperties方法期间填充接口的IDTSComponentMetaData100自定义属性集合。 不应在任何其他时间将属性添加到此集合。

以下接口包含自定义属性集合:

属性

Count

获取 IDTSCustomPropertyCollection100 中包含的元素数。

Item[Object]

获取由 Index 参数指定的 IDTSCustomProperty100

方法

FindObjectByID(Int32)

按照其 ID 在集合中定位所请求的对象。

FindObjectIndexByID(Int32)

按照其 ID 在集合中定位所请求对象的索引。

GetEnumerator()

返回可遍历 IDTSCustomPropertyCollection100 的枚举器。

GetObjectByID(Int32)

获取具有指定 ID 的 IDTSCustomPropertyCollection100 对象。

GetObjectIndexByID(Int32)

获取具有指定 ID 的 IDTSCustomProperty100 对象的索引。

New()

创建新的 IDTSCustomProperty100 对象并将其添加到集合的末尾。

NewAt(Int32)

在集合中的指定位置创建新的 IDTSCustomProperty100 对象。

RemoveAll()

删除集合中的每个 IDTSCustomProperty100 对象。

RemoveObjectByID(Int32)

删除具有指定 ID 的 IDTSCustomProperty100

RemoveObjectByIndex(Object)

删除由 Index 指定的位置处的 IDTSCustomProperty100 对象。

SetIndex(Int32, Int32)

更改集合中 IDTSCustomProperty100 对象的位置。

适用于