Freigeben über


IDTSPropertiesProvider100.SetExpression-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Assigns the specified expression to the property. Specify nullein NULL-Verweis (Nothing in Visual Basic) to remove an existing expression from the property.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Usage
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
)

Parameter

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

Hinweise

For more information, see IDTSPropertiesProvider.

Siehe auch

Verweis

IDTSPropertiesProvider100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace