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