ForLoopClass.SetExpression 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Assigns the specified expression to the property. Specify nullnull 引用(在 Visual Basic 中为 Nothing) 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 ForLoopClass
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 that will store the expression.
- bstrExpression
类型:System.String
The expression to assign.
实现
IDTSPropertiesProvider100.SetExpression(String, String)