次の方法で共有


DacDeployOptions.CommentOutSetVarDeclarations プロパティ

SQLCMD 変数の宣言をスクリプト ヘッダーでコメント アウトするかどうかを指定するブール値を取得または設定します。

名前空間:  Microsoft.SqlServer.Dac
アセンブリ:  Microsoft.SqlServer.Dac (Microsoft.SqlServer.Dac.dll)

構文

'宣言
Public Property CommentOutSetVarDeclarations As Boolean 
    Get 
    Set
'使用
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.CommentOutSetVarDeclarations

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

プロパティ値

型: System.Boolean
これらの宣言をコメント アウトする場合は true、それ以外の場合は false。既定値は false です。

関連項目

参照

DacDeployOptions クラス

Microsoft.SqlServer.Dac 名前空間