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.