Partager via


Méthode ForLoopClass.SetExpression

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

Assigns the specified expression to the property. Specify nullune référence Null (Nothing dans Visual Basic) to remove an existing expression from the property.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Utilisation
Dim instance As ForLoopClass 
Dim bstrPropertyName As String 
Dim bstrExpression As String

instance.SetExpression(bstrPropertyName, _
    bstrExpression)
public virtual void SetExpression(
    string bstrPropertyName,
    string bstrExpression
)
public:
virtual void SetExpression(
    [InAttribute] String^ bstrPropertyName, 
    [InAttribute] String^ bstrExpression
)
abstract SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit  
override SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit
public function SetExpression(
    bstrPropertyName : String, 
    bstrExpression : String
)

Paramètres

  • bstrPropertyName
    Type : System.String
    The name of the property that will store the expression.

Implémente

IDTSPropertiesProvider100.SetExpression(String, String)

Voir aussi

Référence

ForLoopClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper