共用方式為


BatchUpgradeOptions.TestOnly 屬性

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

Gets or sets whether the upgrade options are for testing only.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Property TestOnly As Boolean 
    Get 
    Set
'用途
Dim instance As BatchUpgradeOptions 
Dim value As Boolean 

value = instance.TestOnly

instance.TestOnly = value
public bool TestOnly { get; set; }
public:
property bool TestOnly {
    bool get ();
    void set (bool value);
}
member TestOnly : bool with get, set
function get TestOnly () : boolean 
function set TestOnly (value : boolean)

屬性值

型別:System.Boolean
True if the upgrade options are for testing only; otherwise, false.

請參閱

參考

BatchUpgradeOptions 類別

Microsoft.SqlServer.Dts.Runtime 命名空間