ExecutePackageTaskClass.Connection Property
Gets or sets the name of the connection used by the ExecutePackageTask.
Namespace: Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly: Microsoft.SqlServer.ExecPackageTaskWrap (in microsoft.sqlserver.execpackagetaskwrap.dll)
Syntax
'Declaration
<DispIdAttribute(10)> _
Public Overridable Property Connection As String Implements IDTSExecutePackage90.Connection
[DispIdAttribute(10)]
public virtual string IDTSExecutePackage90.Connection { get; set; }
[DispIdAttribute(10)]
public:
virtual property String^ Connection {
String^ get () = IDTSExecutePackage90::Connection::get;
void set ([InAttribute] String^ RetVal) = IDTSExecutePackage90::Connection::set;
}
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Property Value
The name of the connection used by the ExecutePackageTask.
Remarks
The ExecutePackageTask can use either an OLE DB connection or a flat file connection.
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
ExecutePackageTaskClass Class
ExecutePackageTaskClass Members
Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask Namespace