共用方式為


ExecuteSQLTask.Connection Property

Gets or sets the name of the connection manager that connects to the relational database management system (RDBMS) where the Execute SQL task is run.

命名空間: Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask
組件: Microsoft.SqlServer.SQLTask (in microsoft.sqlserver.sqltask.dll)

語法

'宣告
Public Property Connection As String
public string Connection { get; set; }
public:
virtual property String^ Connection {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_Connection ()

/** @property */
public final void set_Connection (String value)
public final function get Connection () : String

public final function set Connection (value : String)

屬性值

A String that contains the name of the connection manager.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

ExecuteSQLTask Class
ExecuteSQLTask Members
Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask Namespace