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