Поделиться через


Метод ForEachEnumeratorHostClass.SetExpression

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Assigns the specified expression to the property. Specify nullпустая ссылка (Nothing в Visual Basic) to remove an existing expression from the property.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
Public Overridable Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Применение
Dim instance As ForEachEnumeratorHostClass 
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
)

Параметры

  • bstrPropertyName
    Тип: System.String
    The name of the property to which to assign the expression.
  • bstrExpression
    Тип: System.String
    The expression to associate with the property.

Реализует

IDTSPropertiesProvider100.SetExpression(String, String)

См. также

Справочник

ForEachEnumeratorHostClass Класс

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper