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
- first
Type: System.IO.TextReader
- second
Type: System.IO.TextReader
The second text reader to compare.
Return Value
Type: System.Boolean
True if the scripts in the text readers are functionally equivalent; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.