IDTSExternalMetadataColumnCollection100 接口

Contains a collection of IDTSExternalMetadataColumn100 objects that represent the columns of an external data source.

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

语法

声明
<GuidAttribute("E472B6AE-202C-4C67-8F44-7D7EE3807A44")> _
Public Interface IDTSExternalMetadataColumnCollection100 _
    Inherits IEnumerable
用法
Dim instance As IDTSExternalMetadataColumnCollection100
[GuidAttribute("E472B6AE-202C-4C67-8F44-7D7EE3807A44")]
public interface IDTSExternalMetadataColumnCollection100 : IEnumerable
[GuidAttribute(L"E472B6AE-202C-4C67-8F44-7D7EE3807A44")]
public interface class IDTSExternalMetadataColumnCollection100 : IEnumerable
[<GuidAttribute("E472B6AE-202C-4C67-8F44-7D7EE3807A44")>]
type IDTSExternalMetadataColumnCollection100 =  
    interface
        interface IEnumerable
    end
public interface IDTSExternalMetadataColumnCollection100 extends IEnumerable

IDTSExternalMetadataColumnCollection100 类型公开以下成员。

属性

  名称 说明
公共属性 Count Gets the number of elements contained in an IDTSExternalMetadataColumnCollection100.
公共属性 IsUsed Gets or sets a value that indicates whether the collection is populated by the component.
公共属性 Item Gets the IDTSExternalMetadataColumn100 object specified by the Index parameter.

页首

方法

  名称 说明
公共方法 FindObjectByID Locates an object in the collection by its ID.
公共方法 FindObjectIndexByID Locates the index of an object in the collection by its ID.
公共方法 GetEnumerator() () () () (从 IEnumerable 继承。)
公共方法 GetEnumerator() () () () Returns an enumerator that can iterate through an IDTSExternalMetadataColumnCollection100.
公共方法 GetObjectByID Gets an IDTSExternalMetadataColumn100 object that has the specified ID.
公共方法 GetObjectIndexByID Gets the index of an IDTSExternalMetadataColumn100 object that has the specified ID.
公共方法 New Creates a new IDTSExternalMetadataColumn100 object and adds it to the end of a collection.
公共方法 NewAt Creates a new IDTSExternalMetadataColumn100 at the specified location in a collection.
公共方法 RemoveAll Deletes each IDTSExternalMetadataColumn100 object in a collection.
公共方法 RemoveObjectByID Removes an IDTSExternalMetadataColumn100 object that has the specified ID.
公共方法 RemoveObjectByIndex Removes an IDTSExternalMetadataColumn100 object at the specified index.
公共方法 SetIndex Changes the location in the collection of an IDTSExternalMetadataColumn100 object.

页首

注释

A data flow component populates and uses this collection to validate the columns in its IDTSInputColumnCollection100 or IDTSOutputColumnCollection100 when the ValidateExternalMetadata property is false or when the SSIS Designer is in offline mode.

The collection typically represents the columns of an external data source used by a source or destination component. Use of the collection allows the component to perform validation without an expensive, time-consuming round trip to the source itself.

For more information about implementing external metadata columns in components see 实现外部元数据.