ConnectionManagerItems.Add 方法
Adds a new connection manager item.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Function Add ( _
creationName As String, _
streamName As String _
) As ConnectionManagerItem
'用途
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
參數
- creationName
型別:System.String
The name.
- streamName
型別:System.String
The name of the stream.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItem
The added connection manager item.