TeamFoundationVersion Class

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

Inheritance Hierarchy


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


Public NotInheritable Class TeamFoundationVersion
public static class TeamFoundationVersion
public ref class TeamFoundationVersion abstract sealed
type TeamFoundationVersion =  class end
public final class TeamFoundationVersion

The TeamFoundationVersion type exposes the following members.


  Name Description
Public propertyStatic member ContractVersionRange Gets the range specified by the minimum and current versions.
Public propertyStatic member CurrentContractVersion Gets the current version of Team Foundation Server.
Public propertyStatic member MinimumContractVersion Gets the lowest supported version of Team Foundation server by this object.



  Name Description
Public methodStatic member Validate(String) Validates the format of the specified string that describes version.
Public methodStatic member Validate(Version) Validates the format of the specified version.


Thread Safety

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

See Also


Microsoft.TeamFoundation Namespace