共用方式為


IDTSExecuteSQL.SqlStatementSourceType 屬性

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

Gets or sets the type of 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 SqlStatementSourceType As SqlStatementSourceType 
    Get 
    Set
'用途
Dim instance As IDTSExecuteSQL 
Dim value As SqlStatementSourceType 

value = instance.SqlStatementSourceType

instance.SqlStatementSourceType = value
SqlStatementSourceType SqlStatementSourceType { get; set; }
property SqlStatementSourceType SqlStatementSourceType {
    SqlStatementSourceType get ();
    void set (SqlStatementSourceType value);
}
abstract SqlStatementSourceType : SqlStatementSourceType with get, set
function get SqlStatementSourceType () : SqlStatementSourceType 
function set SqlStatementSourceType (value : SqlStatementSourceType)

屬性值

型別:Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.SqlStatementSourceType
A value from the SqlStatementSourceType enumeration that describes the type of source for the SQL statement.

請參閱

參考

IDTSExecuteSQL 介面

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