Compartir a través de


CompareTo Método

Compares the current object with the specified target set level.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function CompareTo ( _
    level As TargetSetLevel _
) As Integer
'Uso
Dim instance As TargetSetLevel
Dim level As TargetSetLevel
Dim returnValue As Integer

returnValue = instance.CompareTo(level)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public int CompareTo(
    TargetSetLevel level
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
virtual int CompareTo(
    TargetSetLevel^ level
) sealed
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
abstract CompareTo : 
        level:TargetSetLevel -> int 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
override CompareTo : 
        level:TargetSetLevel -> int 
public final function CompareTo(
    level : TargetSetLevel
) : int

Parámetros

Valor devuelto

Tipo: System. . :: . .Int32
A Int32 value that specifies the difference between target set levels.

Implementa

IComparable< (Of < ( <'T> ) > ) >. . :: . .CompareTo(T)

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.