SqlScriptComparer.Compare Method (TSqlFragment, TSqlFragment)
Compares two fragments.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Function Compare ( _
first As TSqlFragment, _
second As TSqlFragment _
) As Boolean
public bool Compare(
TSqlFragment first,
TSqlFragment second
)
public:
bool Compare(
TSqlFragment^ first,
TSqlFragment^ second
)
member Compare :
first:TSqlFragment *
second:TSqlFragment -> bool
public function Compare(
first : TSqlFragment,
second : TSqlFragment
) : boolean
Parameters
- first
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The first fragment to compare.
- second
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The second fragment to compare.
Return Value
Type: System.Boolean
.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.