Partager via


SetComponentProperty méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Ce membre se substitue à PipelineComponent. . :: . .SetComponentProperty(String, Object).

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.TxScript (dans Microsoft.SqlServer.TxScript.dll)

Syntaxe

'Déclaration
Public Overrides Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
'Utilisation
Dim instance As ScriptComponentHost
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100

returnValue = instance.SetComponentProperty(propertyName, _
    propertyValue)
public override IDTSCustomProperty100 SetComponentProperty(
    string propertyName,
    Object propertyValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
    String^ propertyName, 
    Object^ propertyValue
) override
abstract SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100 
override SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100 
public override function SetComponentProperty(
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty100

Paramètres