مشاركة عبر


SqlServerVersion Enumeration

The SqlServerVersion enumeration contains values that are used to specify the version of the referenced instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Enumeration SqlServerVersion
'Usage
Dim instance As SqlServerVersion
public enum SqlServerVersion
public enum class SqlServerVersion
type SqlServerVersion
public enum SqlServerVersion

Members

Member name Description
Version100 SQL Server 2008.
Version105 SQL Server 2008 R2.
Version110 SQL Server 2012.
Version80 No longer used.
Version90 SQL Server 2005.

Remarks

The SqlServerVersion enumeration class is served by the PingSqlServerVersion method and the GetSqlServerVersionName method.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace