Export (0) Print
Expand All

SqlCeVersion Class

Visual Studio 2010

Represents the SQL Server Compact runtime version information.

System.Object
  Microsoft.SqlServerCe.VersionManagement.SqlCeVersion

Namespace:  Microsoft.SqlServerCe.VersionManagement
Assembly:  Microsoft.SqlServerCe.VersionManagement (in Microsoft.SqlServerCe.VersionManagement.dll)

[SerializableAttribute]
public sealed class SqlCeVersion : IComparable, 
	IComparable<SqlCeVersion>, IEquatable<SqlCeVersion>

The SqlCeVersion type exposes the following members.

  NameDescription
Public methodSqlCeVersionInitializes a new instance of the SqlCeVersion class with the specified major and minor component of the version.
Top

  NameDescription
Public propertyMajorGets or sets the the major component of the version number for the current SqlCeVersion object.
Public propertyMinorGets or sets the minor component of the version number for the current SqlCeVersion object.
Top

  NameDescription
Public methodCompareTo(Object)Indicates the comparison of two instance of the SqlCeVersion class and returns 0 if they are the same.
Public methodCompareTo(SqlCeVersion)Indicates the comparison of the current SqlCeVersion object to a specified SqlCeVersion and returns an indication of their relative values.
Public methodEquals(Object)Specifies a value that indicates whether the current SqlCeVersion object is equal to a specified object. (Overrides Object.Equals(Object).)
Public methodEquals(SqlCeVersion)Specifies a value indicating whether the current SqlCeVersion object is equal to a specified object.
Protected methodFinalize (inherited from Object)
Public methodGetHashCodeRetrieves a hash code for the current SqlCeVersion object. (Overrides Object.GetHashCode().)
Public methodGetType (inherited from Object)
Protected methodMemberwiseClone (inherited from Object)
Public methodToStringConverts the value of the current SqlCeVersion object to its equivalent string representation. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the first specified SqlCeVersion object is equal to the second specified SqlCeVersion object.
Public operatorStatic memberGreaterThanDetermines whether the first specified SqlCeVersion object is greater than the second specified SqlCeVersion object.
Public operatorStatic memberGreaterThanOrEqualDetermines whether the first specified SqlCeVersion object is greater than or equal to the second specified SqlCeVersion object.
Public operatorStatic memberInequalityDetermines whether the first specified SqlCeVersion object is not equal to the second specified SqlCeVersion object.
Public operatorStatic memberLessThanDetermines whether the first specified SqlCeVersion object is less than the second specified SqlCeVersion object.
Public operatorStatic memberLessThanOrEqualDetermines whether the first specified SqlCeVersion object is less than or equal to the second SqlCeVersion object.
Top

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft