Dela via


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.

Namespace: Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask
Assembly: Microsoft.SqlServer.SQLTask (in microsoft.sqlserver.sqltask.dll)

Syntax

'Declaration
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)

Property Value

A String that contains the name of the connection manager.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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