共用方式為


SqlScriptComparerConstructor.IgnoreComments 屬性

取得或設定值,這個值表示比較作業是否應忽略註解。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Property IgnoreComments As Boolean
    Get
    Set
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)

屬性值

型別:System.Boolean

備註

此設定會影響單行和多行註解。

.NET Framework 安全性

請參閱

參考

SqlScriptComparerConstructor 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間