SqlScriptComparer.GetDifferences Method (String, String)

Creates a list of differences between two scripts.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.Generic.IList<SqlScriptComparisonResult>
The list of differences between the two scripts.

.NET Framework Security

See Also

Reference

SqlScriptComparer Class

GetDifferences Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace