Метод SetExpression
Assigns the specified expression to the property. Specify nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic) to remove an existing expression from the property.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Sub SetExpression ( _
propertyName As String, _
expression As String _
)
'Применение
Dim instance As ForEachLoop
Dim propertyName As String
Dim expression As String
instance.SetExpression(propertyName, _
expression)
public void SetExpression(
string propertyName,
string expression
)
public:
virtual void SetExpression(
String^ propertyName,
String^ expression
) sealed
abstract SetExpression :
propertyName:string *
expression:string -> unit
override SetExpression :
propertyName:string *
expression:string -> unit
public final function SetExpression(
propertyName : String,
expression : String
)
Параметры
- propertyName
Тип System. . :: . .String
The name of the property to which to assign the expression.
- expression
Тип System. . :: . .String
The expression.
Реализует интерфейс
IDTSPropertiesProvider. . :: . .SetExpression(String, String)
Замечания
The propertyName can be any property available on the object.
См. также