Connection 属性

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

命名空间:  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
程序集:  Microsoft.SqlServer.ExecPackageTaskWrap(在 Microsoft.SqlServer.ExecPackageTaskWrap.dll 中)

语法

声明
Public Overridable Property Connection As String
    Get
    Set
用法
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)

属性值

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

实现

IDTSExecutePackage100. . :: . .Connection

注释

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