Parameters.Insert Method
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.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public MustOverride Sub Insert ( _
index As Integer, _
parameterName As String, _
dataType As TypeCode _
)
'Usage
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
)
Parameters
- index
Type: System.Int32
The location within the collection to insert to.
- parameterName
Type: System.String
The name of the parameter.
- dataType
Type: System.TypeCode
The data type of the parameter.