IDTSManagedComponentHost100.HostInsertExternalMetadataColumnAt 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Inserts host metadata column at specified index.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Function HostInsertExternalMetadataColumnAt ( _
pWrapper As IDTSManagedComponentWrapper100, _
lID As Integer, _
lExternalMetadataColumnIndex As Integer, _
bstrName As String, _
bstrDescription As String _
) As IDTSExternalMetadataColumn100
'用途
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
參數
- pWrapper
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- lID
型別:System.Int32
The identifier.
- lExternalMetadataColumnIndex
型別:System.Int32
The external metadata column index.
- bstrName
型別:System.String
The name of the object.
- bstrDescription
型別:System.String
The description of the object.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The inserted object.