DacDeployOptions.CommentOutSetVarDeclarations 屬性

定義

取得或設定布林值,指定是否在指令碼標頭中註解化 SQLCMD 變數的宣告。

C#
public bool CommentOutSetVarDeclarations { get; set; }
C#
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "CommentOutSetVarDeclarations")]
public bool CommentOutSetVarDeclarations { get; set; }

屬性值

True 表示註解化這些宣告,否則為 false。 預設值為 false。

屬性

適用於

產品 版本
Microsoft.SQLServer.DacFx 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111