Share via


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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SqlScriptComparer Class

Compare Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace