Share via


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)

Syntax

'Declaration
Public Overrides ReadOnly Property ServerVersion As String
'Usage
Dim instance As SqlCeConnection
Dim value As String

value = instance.ServerVersion
public override string ServerVersion { get; }
public:
virtual property String^ ServerVersion {
    String^ get () override;
}
/** @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.

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

SqlCeConnection Class
SqlCeConnection Members
System.Data.SqlServerCe Namespace