AgnosticProjectProperties.Versions Class

This class and its members are reserved for internal use and are not intended to be used in your code. Provides the static version properties that are used by the user interface of Visual Studio that are part of the AgnosticProjectProperties class. These properties are not dependent on any specific DatabaseSchemaProvider.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.AgnosticProjectProperties.Versions

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

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

The AgnosticProjectProperties.Versions type exposes the following members.

Methods

  Name Description
Public methodStatic member IsLaterProjectVersion Returns a value that indicates whether the provided project version represents a later version than any that can work with Visual Studio.
Public methodStatic member IsLatestVersion Returns a value that indicates whether the provided project version is equal to the value of the LatestProjectVersion.
Public methodStatic member IsPreDev10 Returns a value that indicates whether the provided project version is earlier than the value of the Dev10ProjectVersion field.
Public methodStatic member IsPreRosario Returns a value that indicates whether the provided project version is earlier than the value of the RosarioCTP12ProjectVersion.
Public methodStatic member IsValidVersion Returns a value that indicates whether the provided project version is a valid version.
Public methodStatic member VersionStringToMajorMinor Parses the provided version string into numeric major and minor parts.

Top

Fields

  Name Description
Public fieldStatic member Dev10ProjectVersion Returns "4.0".
Public fieldStatic member LatestMajorVersion Returns the latest major version of the product (for Visual Studio 2010 Premium, "3").
Public fieldStatic member LatestMinorVersion Returns the latest minor version of the product (for Visual Studio 2010 Premium, "5").
Public fieldStatic member LatestProjectVersion Returns the latest database project version (for Visual Studio 2010 Premium, "4.0").
Public fieldStatic member RosarioCTP12ProjectVersion Returns the version of the database project file that was released with CTP12 ("3.0").
Public fieldStatic member RosarioCTP14ProjectVersion Returns the version of the database project file that was released with CTP14 ("3.1").
Public fieldStatic member RosarioCTP15ProjectVersion Returns the version of the database project file that was released with CTP15 ("3.2").
Public fieldStatic member RosarioCTP16ProjectVersion Returns the version of the database project file that was released with CTP16 ("3.3").
Public fieldStatic member RosarioCTP17ProjectVersion Returns the version of the database project file that was released with CTP17 ("3.4").
Public fieldStatic member Vs2005GDR1ProjectVersion Returns the version of the database project file that was released with CTP14 ("3.1").
Public fieldStatic member Vs2005ProjectVersion Returns the version of the database project file that was released with Microsoft Visual Studio 2005 Team Edition for Database Professionals ("1.0").
Public fieldStatic member Vs2005ProjectVersionV2 Returns the version of the database project file that was released with the GDR for Microsoft Visual Studio 2005 Team Edition for Database Professionals ("1").
Public fieldStatic member Vs2008GDRProjectVersion Returns the version of the database project file that was released with the GDR for Team System 2008 Database Edition ("3.5").
Public fieldStatic member Vs2008ProjectVersion Returns the version of the database project file that was released with Team System 2008 Database Edition ("2.0").
Public fieldStatic member Vs2008ProjectVersionV2 Returns the version of the database project file that was released with the update for Team System 2008 Database Edition ("2").

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.Data.Schema.Build Namespace

AgnosticProjectProperties

DatabaseSchemaProvider