Méthode IDTSManagedComponentHost100.HostSetComponentProperty
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Sets the host component property.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Function HostSetComponentProperty ( _
pWrapper As IDTSManagedComponentWrapper100, _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'Utilisation
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
Paramètres
- pWrapper
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- PropertyName
Type : System.String
The property name.
- vValue
Type : System.Object
The value.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The host component property.