ScriptingOptions.ConvertVersion Method (Version)

 

Converts the server version to a SqlServerVersion value.

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

public static SqlServerVersion ConvertVersion(
	Version version
)

Parameters

version
Type: System.Version

The version of the server.

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlServerVersion

A SqlServerVersion value specifying the version of the server.

Return to top
Show: