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
參數
- first
型別:Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
要進行比較的第一個片段。
- second
型別:Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
要進行比較的第二個片段。
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。