IDTSParameters100.Add Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Adds a parameter object to the parameters collection with the specified name and data type.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function Add ( _
bstrName As String, _
usDataType As UShort _
) As IDTSParameter100
'Usage
Dim instance As IDTSParameters100
Dim bstrName As String
Dim usDataType As UShort
Dim returnValue As IDTSParameter100
returnValue = instance.Add(bstrName, usDataType)
IDTSParameter100 Add(
string bstrName,
ushort usDataType
)
IDTSParameter100^ Add(
[InAttribute] String^ bstrName,
[InAttribute] unsigned short usDataType
)
abstract Add :
bstrName:string *
usDataType:uint16 -> IDTSParameter100
function Add(
bstrName : String,
usDataType : ushort
) : IDTSParameter100
Parameters
- bstrName
Type: System.String
The name of the parameter.
- usDataType
Type: System.UInt16
The data type of the parameter.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSParameter100
A newly added parameter object.