IDTSConnections100.Add 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Adds the connection manager of the specified connection type to collection.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Function Add ( _
    bstrConnectionType As String _
) As IDTSConnectionManager100
用法
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

参数

  • bstrConnectionType
    类型:System.String
    The connection type for the connection manager.

返回值

类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.

注释

For more information, see Connections.

请参阅

参考

IDTSConnections100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间