Partager via


Connection propriété

Gets or sets the name of the connection used by the ExecutePackageTask.

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

Syntaxe

'Déclaration
Public Overridable Property Connection As String
    Get
    Set
'Utilisation
Dim instance As ExecutePackageTaskClass
Dim value As String

value = instance.Connection

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

Valeur de la propriété

Type : System. . :: . .String
The name of the connection used by the ExecutePackageTask.

Implémente

IDTSExecutePackage100. . :: . .Connection

Notes

The ExecutePackageTask can use either an OLE DB connection or a flat file connection.