次の方法で共有


SqlScriptComparer.GetDifferences メソッド (TSqlFragment, TSqlFragment)

2 つのフラグメント間の相違点のリストを作成します。

名前空間:  Microsoft.Data.Schema.ScriptDom.Sql
アセンブリ:  Microsoft.Data.Schema.Sql (Microsoft.Data.Schema.Sql.dll 内)

構文

'宣言
Public Function GetDifferences ( _
    oldScript As TSqlFragment, _
    newScript As TSqlFragment _
) As IList(Of SqlScriptComparisonResult)
public IList<SqlScriptComparisonResult> GetDifferences(
    TSqlFragment oldScript,
    TSqlFragment newScript
)
public:
IList<SqlScriptComparisonResult^>^ GetDifferences(
    TSqlFragment^ oldScript, 
    TSqlFragment^ newScript
)
member GetDifferences : 
        oldScript:TSqlFragment * 
        newScript:TSqlFragment -> IList<SqlScriptComparisonResult> 
public function GetDifferences(
    oldScript : TSqlFragment, 
    newScript : TSqlFragment
) : IList<SqlScriptComparisonResult>

パラメーター

戻り値

型: System.Collections.Generic.IList<SqlScriptComparisonResult>
2 つのフラグメント間の相違点のリスト。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SqlScriptComparer クラス

GetDifferences オーバーロード

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