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 命名空间