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.