共用方式為


ExecuteSQLTask.Connection 屬性

Gets or sets the name of the connection manager that connects to the relational database management system (RDBMS) where the Execute SQL task is run.

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

語法

'宣告
Public Property Connection As String 
    Get 
    Set
'用途
Dim instance As ExecuteSQLTask 
Dim value As String 

value = instance.Connection

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

屬性值

型別:System.String
A String that contains the name of the connection manager.

實作

IDTSExecuteSQL.Connection

請參閱

參考

ExecuteSQLTask 類別

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