共用方式為


IDTSExecutePackage100.Connection 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
組件:  Microsoft.SqlServer.ExecPackageTaskWrap (在 Microsoft.SqlServer.ExecPackageTaskWrap.dll 中)

語法

'宣告
Property Connection As String 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

IDTSExecutePackage100 介面

Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask 命名空間