TeamFoundationVersion.CurrentContractVersion Property
Gets the current version of Team Foundation Server.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared ReadOnly Property CurrentContractVersion As Version
public static Version CurrentContractVersion { get; }
public:
static property Version^ CurrentContractVersion {
Version^ get ();
}
static member CurrentContractVersion : Version with get
static function get CurrentContractVersion () : Version
Property Value
Type: System.Version
The current version of Team Foundation Server.
Remarks
This is the maximum supported version of Team Foundation Server by this object.
.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.