IDTSCustomPropertyCollection100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含 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语句。
接口的 IDTSComponentMetaData100 自定义属性集合在调用 ProvideComponentProperties 方法时填充。 属性不应在其他时间添加到该集合中。
以下接口包含自定义属性集合:
属性
| 名称 | 说明 |
|---|---|
| Count |
得到包含在 IDTSCustomPropertyCollection100中的元素数。 |
| Item[Object] |
得到 IDTSCustomProperty100 参数指定的 |
方法
| 名称 | 说明 |
|---|---|
| FindObjectByID(Int32) |
通过 ID 在集合中定位请求对象。 |
| FindObjectIndexByID(Int32) |
通过 ID 定位集合中请求对象的索引。 |
| GetEnumerator() |
返回一个枚举器,可以遍历 。IDTSCustomPropertyCollection100 |
| GetObjectByID(Int32) |
获得 IDTSCustomPropertyCollection100 一个具有指定ID的对象。 |
| GetObjectIndexByID(Int32) |
获取具有指定 ID 的对象的索引 IDTSCustomProperty100 。 |
| New() |
创建一个新 IDTSCustomProperty100 对象并将其添加到集合的末尾。 |
| NewAt(Int32) |
在集合中指定的位置创建一个新 IDTSCustomProperty100 对象。 |
| RemoveAll() |
删除集合中的每个 IDTSCustomProperty100 对象。 |
| RemoveObjectByID(Int32) |
删除并 IDTSCustomProperty100 持有指定的ID。 |
| RemoveObjectByIndex(Object) |
删除 IDTSCustomProperty100 由 |
| SetIndex(Int32, Int32) |
改变集合中对象的位置 IDTSCustomProperty100 。 |