IDTSConnections100.Add Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Adds the connection manager of the specified connection type to collection.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function Add ( _
bstrConnectionType As String _
) As IDTSConnectionManager100
'Usage
Dim instance As IDTSConnections100
Dim bstrConnectionType As String
Dim returnValue As IDTSConnectionManager100
returnValue = instance.Add(bstrConnectionType)
IDTSConnectionManager100 Add(
string bstrConnectionType
)
IDTSConnectionManager100^ Add(
[InAttribute] String^ bstrConnectionType
)
abstract Add :
bstrConnectionType:string -> IDTSConnectionManager100
function Add(
bstrConnectionType : String
) : IDTSConnectionManager100
Parameters
- bstrConnectionType
Type: System.String
The connection type for the connection manager.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.
Remarks
For more information, see Connections.