Share via


SqlScriptComparerConstructor.IgnoreComments Property

Gets or sets a value that indicates whether the compare operation should ignore comments.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Property IgnoreComments As Boolean
public bool IgnoreComments { get; set; }
public:
property bool IgnoreComments {
    bool get ();
    void set (bool value);
}
member IgnoreComments : bool with get, set
function get IgnoreComments () : boolean
function set IgnoreComments (value : boolean)

Property Value

Type: System.Boolean

Remarks

Both single-line and multiple-line comments are affected by this setting.

.NET Framework Security

See Also

Reference

SqlScriptComparerConstructor Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace