TargetSetLevel.CompareTo Method
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
Parameters
- level
Type: Microsoft.SqlServer.Management.Dmf.TargetSetLevel
An TargetSetLevel object that specifies the object to compare.
Return Value
Type: System.Int32
A Int32 value that specifies the difference between target set levels.
Implements
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.