This documentation is archived and is not being maintained.

SqlCeConnection.ServerVersion Property

Returns the SQL Server Compact Edition version number as a string.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

public override string ServerVersion { get; }
/** @property */
public String get_ServerVersion ()

public override function get ServerVersion () : String

Not applicable.

Property Value

A string of the version of SQL Server Compact Edition.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0
Show: