Метод TargetSetLevel.CompareTo

Compares the current object with the specified target set level.

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function CompareTo ( _
    level As TargetSetLevel _
) As Integer
'Применение
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

Параметры

Возвращаемое значение

Тип: System.Int32
A Int32 value that specifies the difference between target set levels.

Реализует

IComparable<T>.CompareTo(T)

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

TargetSetLevel Класс

Пространство имен Microsoft.SqlServer.Management.Dmf