Share via


IDTSParameters100.Add(String, UInt16) Method

Definition

Adds a parameter object to the parameters collection with the specified name and data type.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSParameter100 ^ Add(System::String ^ bstrName, System::UInt16 usDataType);
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSParameter100 Add (string bstrName, ushort usDataType);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string * uint16 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSParameter100
Public Function Add (bstrName As String, usDataType As UShort) As IDTSParameter100

Parameters

bstrName
String

The name of the parameter.

usDataType
UInt16

The data type of the parameter.

Returns

A newly added parameter object.

Attributes

Applies to