次の方法で共有


DacDeployOptions.CommentOutSetVarDeclarations プロパティ

定義

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

public bool CommentOutSetVarDeclarations { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "CommentOutSetVarDeclarations")]
public bool CommentOutSetVarDeclarations { get; set; }
member this.CommentOutSetVarDeclarations : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "CommentOutSetVarDeclarations")>]
member this.CommentOutSetVarDeclarations : bool with get, set
Public Property CommentOutSetVarDeclarations As Boolean

プロパティ値

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

属性

適用対象