PipelineComponent.InsertExternalMetadataColumnAt Method
SQL Server 2012
Inserts a new external metadata column into the collection of external metadata columns at the specified index.
This API is not CLS-compliant. Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
[CLSCompliantAttribute(false)] public virtual IDTSExternalMetadataColumn100 InsertExternalMetadataColumnAt( int iID, int iExternalMetadataColumnIndex, string strName, string strDescription )
Parameters
- iID
- Type: System.Int32
The ID of the IDTSInput100 or IDTSOutput100 that the external metadata column is associated with.
- iExternalMetadataColumnIndex
- Type: System.Int32
The index at which the new external metadata column should be inserted into the collection.
- strName
- Type: System.String
The Name of the new external metadata column.
- strDescription
- Type: System.String
The Description of the new external metadata column.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100The newly created IDTSExternalMetadataColumn100.
For more information about working with external metadata columns, see Implementing External Metadata.
