CManagedComponentWrapperClass.InsertExternalMetadataColumnAt Method
Inserts a new external metadata column into the collection of external metadata columns at the specified index.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntax
'Declaration
Public Overridable Function InsertExternalMetadataColumnAt ( _
lID As Integer, _
lExternalMetadataColumnIndex As Integer, _
bstrName As String, _
bstrDescription As String _
) As IDTSExternalMetadataColumn100
'Usage
Dim instance As CManagedComponentWrapperClass
Dim lID As Integer
Dim lExternalMetadataColumnIndex As Integer
Dim bstrName As String
Dim bstrDescription As String
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.InsertExternalMetadataColumnAt(lID, _
lExternalMetadataColumnIndex, bstrName, _
bstrDescription)
public virtual IDTSExternalMetadataColumn100 InsertExternalMetadataColumnAt(
int lID,
int lExternalMetadataColumnIndex,
string bstrName,
string bstrDescription
)
public:
virtual IDTSExternalMetadataColumn100^ InsertExternalMetadataColumnAt(
[InAttribute] int lID,
[InAttribute] int lExternalMetadataColumnIndex,
[InAttribute] String^ bstrName,
[InAttribute] String^ bstrDescription
)
abstract InsertExternalMetadataColumnAt :
lID:int *
lExternalMetadataColumnIndex:int *
bstrName:string *
bstrDescription:string -> IDTSExternalMetadataColumn100
override InsertExternalMetadataColumnAt :
lID:int *
lExternalMetadataColumnIndex:int *
bstrName:string *
bstrDescription:string -> IDTSExternalMetadataColumn100
public function InsertExternalMetadataColumnAt(
lID : int,
lExternalMetadataColumnIndex : int,
bstrName : String,
bstrDescription : String
) : IDTSExternalMetadataColumn100
Parameters
- lID
Type: System.Int32
The ID of the IDTSInput100 or IDTSOutput100 that the external metadata column is associated with.
- lExternalMetadataColumnIndex
Type: System.Int32
The index at which the new external metadata column should be inserted into the collection.
- bstrName
Type: System.String
The name of the new external metadata column.
- bstrDescription
Type: System.String
The description of the new external metadata column.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The newly created IDTSExternalMetadataColumn100.
Implements
IDTSDesigntimeComponent100.InsertExternalMetadataColumnAt(Int32, Int32, String, String)