共用方式為


IDTSExecuteSQL.BypassPrepare 屬性

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

Gets or sets a value that indicates whether the Execute SQL task skips preparation of the statement when sending the SQL statement to the relational database management system (RDBMS).

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

語法

'宣告
Property BypassPrepare As Boolean 
    Get 
    Set
'用途
Dim instance As IDTSExecuteSQL 
Dim value As Boolean 

value = instance.BypassPrepare

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

屬性值

型別:System.Boolean
true if the task bypasses preparation of the SQL command; false if the RDBMS prepares the statement before execution.

請參閱

參考

IDTSExecuteSQL 介面

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