Método ManagedComponentHost.HostSetComponentProperty
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Sets the host component property.
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (em Microsoft.SqlServer.PipelineHost.dll)
Sintaxe
'Declaração
Public Function HostSetComponentProperty ( _
wrapper As IDTSManagedComponentWrapper100, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
'Uso
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.HostSetComponentProperty(wrapper, _
propertyName, propertyValue)
public IDTSCustomProperty100 HostSetComponentProperty(
IDTSManagedComponentWrapper100 wrapper,
string propertyName,
Object propertyValue
)
public:
virtual IDTSCustomProperty100^ HostSetComponentProperty(
IDTSManagedComponentWrapper100^ wrapper,
String^ propertyName,
Object^ propertyValue
) sealed
abstract HostSetComponentProperty :
wrapper:IDTSManagedComponentWrapper100 *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
override HostSetComponentProperty :
wrapper:IDTSManagedComponentWrapper100 *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
public final function HostSetComponentProperty(
wrapper : IDTSManagedComponentWrapper100,
propertyName : String,
propertyValue : Object
) : IDTSCustomProperty100
Parâmetros
- wrapper
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- propertyName
Tipo: System.String
The property name.
- propertyValue
Tipo: System.Object
The property value.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The host component property.
Implementa
IDTSManagedComponentHost100.HostSetComponentProperty(IDTSManagedComponentWrapper100, String, Object)