共用方式為


IDTSExecuteSQL.SqlStatementSource 屬性

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

Gets or sets the name of the source that contains the SQL statement that the Execute SQL task runs.

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

語法

'宣告
Property SqlStatementSource As String 
    Get 
    Set
'用途
Dim instance As IDTSExecuteSQL 
Dim value As String 

value = instance.SqlStatementSource

instance.SqlStatementSource = value
string SqlStatementSource { get; set; }
property String^ SqlStatementSource {
    String^ get ();
    void set (String^ value);
}
abstract SqlStatementSource : string with get, set
function get SqlStatementSource () : String 
function set SqlStatementSource (value : String)

屬性值

型別:System.String
The name of the source that contains the SQL statement that the Execute SQL task runs.

請參閱

參考

IDTSExecuteSQL 介面

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