共用方式為


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