public enum MSSQLServerVersion extends java.lang.Enum<MSSQLServerVersion>
Enum Constant and Description |
---|
Auto |
MSSQL2000 |
MSSQL2005 |
MSSQL2008 |
MSSQL2012 |
MSSQL2014 |
MSSQL7 |
Modifier and Type | Method and Description |
---|---|
static MSSQLServerVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MSSQLServerVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MSSQLServerVersion Auto
public static final MSSQLServerVersion MSSQL7
public static final MSSQLServerVersion MSSQL2000
public static final MSSQLServerVersion MSSQL2005
public static final MSSQLServerVersion MSSQL2008
public static final MSSQLServerVersion MSSQL2012
public static final MSSQLServerVersion MSSQL2014
public static MSSQLServerVersion[] values()
for (MSSQLServerVersion c : MSSQLServerVersion.values()) System.out.println(c);
public static MSSQLServerVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null