Méthode CompareTo

Compares the current object with the specified target set level.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

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

Paramètres

Valeur de retour

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

Implémente

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.