Partager via


Propriété IDTSExecutePackage100.Connection

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Gets or sets the name of the connection used by the execute package task.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly :  Microsoft.SqlServer.ExecPackageTaskWrap (en Microsoft.SqlServer.ExecPackageTaskWrap.dll)

Syntaxe

'Déclaration
Property Connection As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.String
The name of the connection used by the execute package task.

Voir aussi

Référence

IDTSExecutePackage100 Interface

Espace de noms Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask