Information.VersionString Property

 

Gets the date, version, and processor type of the instance of SQL Server.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Expensive | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public string VersionString { get; }

Property Value

Type: System.String

A String value that contains the date, the version, and the processor type of the instance of SQL Server.

See the @@VERSION (Transact-SQL) command for information about how the returned string is formatted.

Return to top
Show: