Condividi tramite


Metodo CompareTo

Compares the current object with the specified target set level.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function CompareTo ( _
    level As TargetSetLevel _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Implementa

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.