IDTSPropertiesProvider100.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 中)
語法
'宣告
Sub SetExpression ( _
bstrPropertyName As String, _
bstrExpression As String _
)
'用途
Dim instance As IDTSPropertiesProvider100
Dim bstrPropertyName As String
Dim bstrExpression As String
instance.SetExpression(bstrPropertyName, _
bstrExpression)
void SetExpression(
string bstrPropertyName,
string bstrExpression
)
void SetExpression(
[InAttribute] String^ bstrPropertyName,
[InAttribute] String^ bstrExpression
)
abstract SetExpression :
bstrPropertyName:string *
bstrExpression:string -> unit
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 assign to the property.
備註
For more information, see IDTSPropertiesProvider.