Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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|SfcPropertyFlags.Matrix)]
public string VersionString { get; }

Property Value

Type: 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.

Community Additions

Show:
© 2015 Microsoft