IDTSParameters100.Add(String, UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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