Compartilhar via


Método CManagedComponentWrapperClass.SetComponentProperty

Assigns a value to a IDTSCustomProperty100 of the component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
Public Overridable Function SetComponentProperty ( _
    PropertyName As String, _
    vValue As Object _
) As IDTSCustomProperty100
'Uso
Dim instance As CManagedComponentWrapperClass 
Dim PropertyName As String 
Dim vValue As Object 
Dim returnValue As IDTSCustomProperty100 

returnValue = instance.SetComponentProperty(PropertyName, _
    vValue)
public virtual IDTSCustomProperty100 SetComponentProperty(
    string PropertyName,
    Object vValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
    [InAttribute] String^ PropertyName, 
    [InAttribute] Object^ vValue
)
abstract SetComponentProperty : 
        PropertyName:string * 
        vValue:Object -> IDTSCustomProperty100  
override SetComponentProperty : 
        PropertyName:string * 
        vValue:Object -> IDTSCustomProperty100
public function SetComponentProperty(
    PropertyName : String, 
    vValue : Object
) : IDTSCustomProperty100

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.

Implementa

IDTSDesigntimeComponent100.SetComponentProperty(String, Object)

Comentários

Call this method to assign a value to an IDTSCustomProperty100 of the component.

Consulte também

Referência

CManagedComponentWrapperClass Classe

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper