Share via


IDTSExecutePackage100.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 used by the execute package task.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly:  Microsoft.SqlServer.ExecPackageTaskWrap (in Microsoft.SqlServer.ExecPackageTaskWrap.dll)

Syntax

'Declaration
Property Connection As String 
    Get 
    Set
'Usage
Dim instance As IDTSExecutePackage100 
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 used by the execute package task.

See Also

Reference

IDTSExecutePackage100 Interface

Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask Namespace