Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function Compare ( _
    serviceLevel1 As ServiceLevel, _
    serviceLevel2 As ServiceLevel _
) As Integer
public static int Compare(
    ServiceLevel serviceLevel1,
    ServiceLevel serviceLevel2
)
public:
static int Compare(
    ServiceLevel^ serviceLevel1, 
    ServiceLevel^ serviceLevel2
)
static member Compare : 
        serviceLevel1:ServiceLevel * 
        serviceLevel2:ServiceLevel -> int
public static function Compare(
    serviceLevel1 : ServiceLevel, 
    serviceLevel2 : ServiceLevel
) : int
Parameters
- serviceLevel1
 Type: Microsoft.TeamFoundation.Framework.Server.ServiceLevel
- serviceLevel2
 Type: Microsoft.TeamFoundation.Framework.Server.ServiceLevel
Return Value
Type: System.Int32
Returns Int32.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.