Share via


VersionUtils Class

Definition

Helper class to handle various version-related checks

public static class VersionUtils
type VersionUtils = class
Public Class VersionUtils
Inheritance
VersionUtils

Methods

IsSql11OrLater(ServerVersion)

Returns whether the given ServerVersion is 110 or higher

IsSql12OrLater(ServerVersion)

Returns whether the given ServerVersion is 120 or higher

IsSql13Azure12OrLater(DatabaseEngineType, ServerVersion)

Check whether the server version is greater than or equal to SQL 13 or SQL 12 on Azure.

IsSql13OrLater(ServerVersion)

Returns whether the given ServerVersion is 130 or higher

IsSql14OrLater(ServerVersion)

Returns whether the given ServerVersion is 140 or higher

IsSql15OrLater(ServerVersion)

Applies to