This documentation is archived and is not being maintained.

TeamFoundationVersion Class

Contains methods and properties to assist in checking whether the server’s version of software is compatible with the client’s.


Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public static class TeamFoundationVersion

The TeamFoundationVersion type exposes the following members.

Public propertyStatic memberContractVersionRangeGets the range specified by the minimum and current versions.
Public propertyStatic memberCurrentContractVersionGets the current version of Team Foundation Server.
Public propertyStatic memberMinimumContractVersionGets the lowest supported version of Team Foundation server by this object.

Public methodStatic memberValidate(String)Validates the format of the specified string that describes version.
Public methodStatic memberValidate(Version)Validates the format of the specified version.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.