Freigeben über


CompareTo-Methode

Compares the current object with the specified target set level.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

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

Parameter

Rückgabewert

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

Implementiert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.