共用方式為


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。

屬性

適用於