다음을 통해 공유


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 네임스페이스