Método CompareTo

Compares the Property object to another object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Uso
Dim instance As [Property]
Dim obj As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(obj)
public int CompareTo(
    Object obj
)
public:
int CompareTo(
    Object^ obj
)
member CompareTo : 
        obj:Object -> int 
public function CompareTo(
    obj : Object
) : int

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
An Int32 value that describes the result of the comparison.