ConnectionManagerItems.Add Method
Adds a new connection manager item.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Function Add ( _
creationName As String, _
streamName As String _
) As ConnectionManagerItem
'Usage
Dim instance As ConnectionManagerItems
Dim creationName As String
Dim streamName As String
Dim returnValue As ConnectionManagerItem
returnValue = instance.Add(creationName, _
streamName)
public ConnectionManagerItem Add(
string creationName,
string streamName
)
public:
ConnectionManagerItem^ Add(
String^ creationName,
String^ streamName
)
member Add :
creationName:string *
streamName:string -> ConnectionManagerItem
public function Add(
creationName : String,
streamName : String
) : ConnectionManagerItem
Parameters
- creationName
Type: System.String
The name.
- streamName
Type: System.String
The name of the stream.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem
The added connection manager item.