DtsProperty.ConnectionType Property

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

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public ReadOnly Property ConnectionType As String
public string ConnectionType { get; }
public:
property String^ ConnectionType {
    String^ get ();
}
/** @property */
public String get_ConnectionType ()
public function get ConnectionType () : String

属性值

A String that contains the name of the connection manager used to create the connection. null 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 Adding Connections Programmatically.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

DtsProperty Class
DtsProperty Members
Microsoft.SqlServer.Dts.Runtime Namespace