共用方式為


SqlScriptComparer.Compare 方法 (TSqlFragment, TSqlFragment)

比較兩個片段。

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

語法

'宣告
Public Function Compare ( _
    first As TSqlFragment, _
    second As TSqlFragment _
) As Boolean
public bool Compare(
    TSqlFragment first,
    TSqlFragment second
)
public:
bool Compare(
    TSqlFragment^ first, 
    TSqlFragment^ second
)
member Compare : 
        first:TSqlFragment * 
        second:TSqlFragment -> bool 
public function Compare(
    first : TSqlFragment, 
    second : TSqlFragment
) : boolean

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

SqlScriptComparer 類別

Compare 多載

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