Condividi tramite


Metodo SqlScriptComparer.GetDifferences (TSqlFragment, TSqlFragment)

Crea un elenco di differenze tra due frammenti.

Spazio dei nomi:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Sintassi

'Dichiarazione
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>

Parametri

Valore restituito

Tipo: System.Collections.Generic.IList<SqlScriptComparisonResult>
Elenco di differenze tra i due frammenti.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SqlScriptComparer Classe

Overload GetDifferences

Spazio dei nomi Microsoft.Data.Schema.ScriptDom.Sql