Information.VersionString Property
SQL Server 2012
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.StringA 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.
