Share via


ServiceLevel.CompareMajorVersions Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Function CompareMajorVersions ( _
    version1 As String, _
    version2 As String _
) As Integer
public static int CompareMajorVersions(
    string version1,
    string version2
)
public:
static int CompareMajorVersions(
    String^ version1, 
    String^ version2
)
static member CompareMajorVersions : 
        version1:string * 
        version2:string -> int
public static function CompareMajorVersions(
    version1 : String, 
    version2 : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ServiceLevel Class

Microsoft.TeamFoundation.Framework.Server Namespace