Partager via


PipelineComponent.SetComponentProperty Method

Assigns a value to a IDTSCustomProperty90 of the component. This method is not CLS-compliant.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Overridable Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty90
[CLSCompliantAttribute(false)] 
public virtual IDTSCustomProperty90 SetComponentProperty (
    string propertyName,
    Object propertyValue
)
[CLSCompliantAttribute(false)] 
public:
virtual IDTSCustomProperty90^ SetComponentProperty (
    String^ propertyName, 
    Object^ propertyValue
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSCustomProperty90 SetComponentProperty (
    String propertyName, 
    Object propertyValue
)
CLSCompliantAttribute(false) 
public function SetComponentProperty (
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty90

Paramètres

  • propertyValue
    The object stored in the Value property of the IDTSCustomProperty90 object.

Valeur de retour

The IDTSCustomProperty90 object whose property is set.

Notes

This method is called when a custom property in the ComponentMetaData is set.

If not overridden, the base class assigns the value specified in the propertyValue parameter to the custom property.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace