IDTSExecuteSQL.Connection 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets the name of the connection manager for the Execute SQL task.

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

语法

声明
Property Connection As String 
    Get 
    Set
用法
Dim instance As IDTSExecuteSQL 
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 manager.

请参阅

参考

IDTSExecuteSQL 接口

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