次の方法で共有


BatchUpgradeOptions.TestOnly プロパティ

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

テストのためだけのアップグレード オプションかどうかを取得します。値の設定も可能です。

名前空間:  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、それ以外の場合は false です。

関連項目

参照

BatchUpgradeOptions クラス

Microsoft.SqlServer.Dts.Runtime 名前空間