DacDeployOptions.CommentOutSetVarDeclarations 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定布林值,指定是否在指令碼標頭中註解化 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; }
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。
- 屬性
產品 | 版本 |
---|---|
Microsoft.SQLServer.DacFx | 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111 |