Condividi tramite


Metodo EventHandlerClass.SetExpression

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Assigns the specified expression to the property. Specify nullriferimento Null (Nothing in Visual Basic). to remove an existing expression from the property.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Public Overridable Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Utilizzo
Dim instance As EventHandlerClass 
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
)

Parametri

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

Implementa

IDTSPropertiesProvider100.SetExpression(String, String)

Vedere anche

Riferimento

EventHandlerClass Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper