ForEachLoopClass.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 ForEachLoopClass
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 string.
實作
IDTSPropertiesProvider100.SetExpression(String, String)