DtsProperty.ConnectionType 属性

Returns the name of the connection manager used to create the connection. This field is read-only.

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

语法

声明
Public ReadOnly Property ConnectionType As String 
    Get
用法
Dim instance As DtsProperty 
Dim value As String 

value = instance.ConnectionType
public string ConnectionType { get; }
public:
property String^ ConnectionType {
    String^ get ();
}
member ConnectionType : string
function get ConnectionType () : String

属性值

类型:System.String
A String that contains the name of the connection manager used to create the connection. nullnull 引用(在 Visual Basic 中为 Nothing) if the object is not a connection manager.

注释

A partial list of connection manager types included with Integration Services (SSIS)are:

  • ADO, the connection manager for ActiveX Data Objects (ADO)

  • ADO.NET, the connection manager for ADO.NET

  • FILE, the connection manager for files

For a complete list of connection managers included with SSIS and their associated names, see 以编程方式添加连接.

请参阅

参考

DtsProperty 类

Microsoft.SqlServer.Dts.Runtime 命名空间