Share via


SqlSmoObject.IsVersion90AndAbove Method

Determines whether the version of SQL Server is SQL Server 2005 or later.

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

Syntax

'Declaration
Protected Function IsVersion90AndAbove As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.IsVersion90AndAbove()
protected bool IsVersion90AndAbove()
protected:
bool IsVersion90AndAbove()
member IsVersion90AndAbove : unit -> bool
protected function IsVersion90AndAbove() : boolean

Return Value

Type: System.Boolean
A Boolean value, true if the version of SQL Server is SQL Server 2005 or later, otherwise false.

See Also

Reference

SqlSmoObject Class

Microsoft.SqlServer.Management.Smo Namespace