Delen via


SqlDeploymentOptions.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.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property CommentOutSetVarDeclarations As Boolean 
    Get
'Usage
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

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

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace