DacDeployOptions.CommentOutSetVarDeclarations 属性

Get or set boolean that specifies whether the declaration of SQLCMD variables are commented out in the script header.

命名空间:  Microsoft.SqlServer.Dac
程序集:  Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)

语法

声明
Public Property CommentOutSetVarDeclarations As Boolean 
    Get 
    Set
用法
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.CommentOutSetVarDeclarations

instance.CommentOutSetVarDeclarations = value
public bool CommentOutSetVarDeclarations { get; set; }
public:
property bool CommentOutSetVarDeclarations {
    bool get ();
    void set (bool value);
}
member CommentOutSetVarDeclarations : bool with get, set
function get CommentOutSetVarDeclarations () : boolean 
function set CommentOutSetVarDeclarations (value : boolean)

属性值

类型:System.Boolean
True to comment out these declarations; otherwise, false. Default is false.

请参阅

参考

DacDeployOptions 类

Microsoft.SqlServer.Dac 命名空间