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。

属性

适用于