Parameters.Insert 方法
Inserts a parameter object to the parameters collection with the specified index, name, and data type. Only project parameters can be inserted to the parameters collection.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public MustOverride Sub Insert ( _
index As Integer, _
parameterName As String, _
dataType As TypeCode _
)
用法
Dim instance As Parameters
Dim index As Integer
Dim parameterName As String
Dim dataType As TypeCode
instance.Insert(index, parameterName, _
dataType)
public abstract void Insert(
int index,
string parameterName,
TypeCode dataType
)
public:
virtual void Insert(
int index,
String^ parameterName,
TypeCode dataType
) abstract
abstract Insert :
index:int *
parameterName:string *
dataType:TypeCode -> unit
public abstract function Insert(
index : int,
parameterName : String,
dataType : TypeCode
)
参数
- index
类型:System.Int32
The location within the collection to insert to.
- parameterName
类型:System.String
The name of the parameter.
- dataType
类型:System.TypeCode
The data type of the parameter.