Méthode ScriptComponentHost.SetComponentProperty
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 component property of the host.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.TxScript (en 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
- propertyName
Type : System.String
The name of the property.
- propertyValue
Type : System.Object
The value of the property.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The component property.