SqlScriptComparer.Compare (Método) (TSqlFragment, TSqlFragment)
Compara dos fragmentos.
Espacio de nombres: Microsoft.Data.Schema.ScriptDom.Sql
Ensamblado: Microsoft.Data.Schema.Sql (en Microsoft.Data.Schema.Sql.dll)
Sintaxis
'Declaración
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
Parámetros
- first
Tipo: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Primer fragmento que se va a comparar.
- second
Tipo: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Segundo fragmento que se va a comparar.
Valor devuelto
Tipo: System.Boolean
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.