Metodo IDTSManagedComponentHost100.HostSetExternalMetadataColumnProperty
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Sets the host external metadata column property.
Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintassi
'Dichiarazione
Function HostSetExternalMetadataColumnProperty ( _
pWrapper As IDTSManagedComponentWrapper100, _
lID As Integer, _
lExternalMetadataColumnID As Integer, _
bstrPropertyName As String, _
vtValue As Object _
) As IDTSCustomProperty100
'Utilizzo
Dim instance As IDTSManagedComponentHost100
Dim pWrapper As IDTSManagedComponentWrapper100
Dim lID As Integer
Dim lExternalMetadataColumnID As Integer
Dim bstrPropertyName As String
Dim vtValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.HostSetExternalMetadataColumnProperty(pWrapper, _
lID, lExternalMetadataColumnID, _
bstrPropertyName, vtValue)
IDTSCustomProperty100 HostSetExternalMetadataColumnProperty(
IDTSManagedComponentWrapper100 pWrapper,
int lID,
int lExternalMetadataColumnID,
string bstrPropertyName,
Object vtValue
)
IDTSCustomProperty100^ HostSetExternalMetadataColumnProperty(
[InAttribute] IDTSManagedComponentWrapper100^ pWrapper,
[InAttribute] int lID,
[InAttribute] int lExternalMetadataColumnID,
[InAttribute] String^ bstrPropertyName,
[InAttribute] Object^ vtValue
)
abstract HostSetExternalMetadataColumnProperty :
pWrapper:IDTSManagedComponentWrapper100 *
lID:int *
lExternalMetadataColumnID:int *
bstrPropertyName:string *
vtValue:Object -> IDTSCustomProperty100
function HostSetExternalMetadataColumnProperty(
pWrapper : IDTSManagedComponentWrapper100,
lID : int,
lExternalMetadataColumnID : int,
bstrPropertyName : String,
vtValue : Object
) : IDTSCustomProperty100
Parametri
- pWrapper
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- lID
Tipo: System.Int32
The identifier.
- lExternalMetadataColumnID
Tipo: System.Int32
The external metadata column identifier.
- bstrPropertyName
Tipo: System.String
The property name.
- vtValue
Tipo: System.Object
The value.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
the host external metadata column property.