IDTSServerExecution100.SetParameterValue 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Sets the parameter with the specified value.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Sub SetParameterValue ( _
parameterType As DTSServerParameterType, _
bstrParameterName As String, _
bstrParameterValue As String _
)
用法
Dim instance As IDTSServerExecution100
Dim parameterType As DTSServerParameterType
Dim bstrParameterName As String
Dim bstrParameterValue As String
instance.SetParameterValue(parameterType, _
bstrParameterName, bstrParameterValue)
void SetParameterValue(
DTSServerParameterType parameterType,
string bstrParameterName,
string bstrParameterValue
)
void SetParameterValue(
DTSServerParameterType parameterType,
[InAttribute] String^ bstrParameterName,
[InAttribute] String^ bstrParameterValue
)
abstract SetParameterValue :
parameterType:DTSServerParameterType *
bstrParameterName:string *
bstrParameterValue:string -> unit
function SetParameterValue(
parameterType : DTSServerParameterType,
bstrParameterName : String,
bstrParameterValue : String
)
参数
- parameterType
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSServerParameterType
The type of the parameter.
- bstrParameterName
类型:System.String
The name of the parameter to set.
- bstrParameterValue
类型:System.String
The value to set on the parameter.
注释
For more information, see SsisServerExecution.