Partager via


Méthode IDTSPropertiesProvider100.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
Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Utilisation
Dim instance As IDTSPropertiesProvider100 
Dim bstrPropertyName As String 
Dim bstrExpression As String

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

Paramètres

  • bstrPropertyName
    Type : System.String
    The name of the property to which to assign the expression.
  • bstrExpression
    Type : System.String
    The expression to assign to the property.

Notes

For more information, see IDTSPropertiesProvider.

Voir aussi

Référence

IDTSPropertiesProvider100 Interface

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