Share via


IDTSExecuteSQL.Connection Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the name of the connection manager for the Execute SQL task.

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

Syntax

'Declaration
Property Connection As String 
    Get 
    Set
'Usage
Dim instance As IDTSExecuteSQL 
Dim value As String 

value = instance.Connection

instance.Connection = value
string Connection { get; set; }
property String^ Connection {
    String^ get ();
    void set (String^ value);
}
abstract Connection : string with get, set
function get Connection () : String 
function set Connection (value : String)

Property Value

Type: System.String
The name of the connection manager.

See Also

Reference

IDTSExecuteSQL Interface

Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask Namespace