DacDeployOptions.CommentOutSetVarDeclarations 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个布尔值,有于是否要在脚本标头中注释掉 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。
- 属性