SqlScriptDiffer.Compare Method (TextReader, TextReader)

Compares scripts from two text readers.

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

Syntax

'Declaration
Public Function Compare ( _
    first As TextReader, _
    second As TextReader _
) As Boolean
'Usage
Dim instance As SqlScriptDiffer
Dim first As TextReader
Dim second As TextReader
Dim returnValue As Boolean

returnValue = instance.Compare(first, _
    second)
public bool Compare(
    TextReader first,
    TextReader second
)
public:
bool Compare(
    TextReader^ first, 
    TextReader^ second
)
public function Compare(
    first : TextReader, 
    second : TextReader
) : boolean
member Compare : 
        first:TextReader * 
        second:TextReader -> bool 

Parameters

Return Value

Type: System.Boolean
Returns True if the scripts are functionally equivalent, False otherwise.

.NET Framework Security

See Also

Reference

SqlScriptDiffer Class

SqlScriptDiffer Members

Compare Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace