Partilhar via


Método SqlScriptComparer.GetDifferences (String, String)

Cria uma lista das diferenças entre os dois scripts.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.Sql (em Microsoft.Data.Schema.Sql.dll)

Sintaxe

'Declaração
Public Function GetDifferences ( _
    oldScript As String, _
    newScript As String _
) As IList(Of SqlScriptComparisonResult)
public IList<SqlScriptComparisonResult> GetDifferences(
    string oldScript,
    string newScript
)
public:
IList<SqlScriptComparisonResult^>^ GetDifferences(
    String^ oldScript, 
    String^ newScript
)
member GetDifferences : 
        oldScript:string * 
        newScript:string -> IList<SqlScriptComparisonResult> 
public function GetDifferences(
    oldScript : String, 
    newScript : String
) : IList<SqlScriptComparisonResult>

Parâmetros

Valor de retorno

Tipo: System.Collections.Generic.IList<SqlScriptComparisonResult>
A lista das diferenças entre os dois scripts.

Segurança do .NET Framework

Consulte também

Referência

SqlScriptComparer Classe

Sobrecargas GetDifferences

Namespace Microsoft.Data.Schema.ScriptDom.Sql