IDTSManagedComponentHost100.HostInsertExternalMetadataColumnAt Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Inserts host metadata column at specified index.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntax
'Declaration
Function HostInsertExternalMetadataColumnAt ( _
pWrapper As IDTSManagedComponentWrapper100, _
lID As Integer, _
lExternalMetadataColumnIndex As Integer, _
bstrName As String, _
bstrDescription As String _
) As IDTSExternalMetadataColumn100
'Usage
Dim instance As IDTSManagedComponentHost100
Dim pWrapper As IDTSManagedComponentWrapper100
Dim lID As Integer
Dim lExternalMetadataColumnIndex As Integer
Dim bstrName As String
Dim bstrDescription As String
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.HostInsertExternalMetadataColumnAt(pWrapper, _
lID, lExternalMetadataColumnIndex, _
bstrName, bstrDescription)
IDTSExternalMetadataColumn100 HostInsertExternalMetadataColumnAt(
IDTSManagedComponentWrapper100 pWrapper,
int lID,
int lExternalMetadataColumnIndex,
string bstrName,
string bstrDescription
)
IDTSExternalMetadataColumn100^ HostInsertExternalMetadataColumnAt(
[InAttribute] IDTSManagedComponentWrapper100^ pWrapper,
[InAttribute] int lID,
[InAttribute] int lExternalMetadataColumnIndex,
[InAttribute] String^ bstrName,
[InAttribute] String^ bstrDescription
)
abstract HostInsertExternalMetadataColumnAt :
pWrapper:IDTSManagedComponentWrapper100 *
lID:int *
lExternalMetadataColumnIndex:int *
bstrName:string *
bstrDescription:string -> IDTSExternalMetadataColumn100
function HostInsertExternalMetadataColumnAt(
pWrapper : IDTSManagedComponentWrapper100,
lID : int,
lExternalMetadataColumnIndex : int,
bstrName : String,
bstrDescription : String
) : IDTSExternalMetadataColumn100
Parameters
- pWrapper
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- lID
Type: System.Int32
The identifier.
- lExternalMetadataColumnIndex
Type: System.Int32
The external metadata column index.
- bstrName
Type: System.String
The name of the object.
- bstrDescription
Type: System.String
The description of the object.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The inserted object.