DacDeployOptions.CommentOutSetVarDeclarations Property

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

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

Syntax

'Declaration
Public Property CommentOutSetVarDeclarations As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace