TargetSetLevel.CompareTo メソッド

現在のオブジェクトと指定された対象セット レベルを比較します。

名前空間:  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
対象セット レベル間の差異を示す Int32 値です。

実装

IComparable<T>.CompareTo(T)

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

関連項目

参照

TargetSetLevel クラス

Microsoft.SqlServer.Management.Dmf 名前空間