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
- first
Type: System.IO.TextReader
The first text reader
- second
Type: System.IO.TextReader
The second text reader
Return Value
Type: System.Boolean
Returns True if the scripts are functionally equivalent, False otherwise.
.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.