Condividi tramite


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

System.Object
  Microsoft.TeamFoundation.TeamFoundationVersion

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

Syntax

'Dichiarazione
Public NotInheritable Class TeamFoundationVersion
public static class TeamFoundationVersion
public ref class TeamFoundationVersion abstract sealed
[<AbstractClass>]
[<Sealed>]
type TeamFoundationVersion =  class end
public final class TeamFoundationVersion

The TeamFoundationVersion type exposes the following members.

Properties

  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.

Top

Methods

  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.

Top

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

Reference

Microsoft.TeamFoundation Namespace