SqlScriptComparer.Compare Method (TextReader, TextReader)

Compares 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
public bool Compare(
    TextReader first,
    TextReader second
)
public:
bool Compare(
    TextReader^ first, 
    TextReader^ second
)
member Compare : 
        first:TextReader * 
        second:TextReader -> bool 
public function Compare(
    first : TextReader, 
    second : TextReader
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the scripts in the text readers are functionally equivalent; otherwise, false.

.NET Framework Security

See Also

Reference

SqlScriptComparer Class

Compare Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace