Freigeben über


SqlServerVersions-Enumeration

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

Diese Enumeration verfügt über ein FlagsAttribute-Attribut, das die bitweise Kombination der Elementwerte zulässt.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SqlServerVersions
'Usage
Dim instance As SqlServerVersions
[FlagsAttribute]
public enum SqlServerVersions
[FlagsAttribute]
public enum class SqlServerVersions
[<FlagsAttribute>]
type SqlServerVersions
public enum SqlServerVersions

Elemente

Elementname Beschreibung
Unknown The version of SQL Server is unknown.
Version70 The version of SQL Server is SQL Server 7.0.
Version80 The version of SQL Server is SQL Server 2000.
Version90 The version of SQL Server is SQL Server 2005. 
Version100 The version of SQL Server is SQL Server 2008.
Version105 The version of SQL Server is SQL Server 2008 R2.

Hinweise

The SqlServerVersions enumeration class is served by the EnumPropertyInfo method.