IServerInformation.OSVersion Property
Applies To: SQL Server 2016 Preview
Gets the host computer operating system version.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")]
[DisplayNameKeyAttribute("Server_OSVersionName")]
string OSVersion { get; }
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")]
[DisplayNameKeyAttribute("Server_OSVersionName")]
property String^ OSVersion {
String^ get();
}
[<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")>]
[<DisplayNameKeyAttribute("Server_OSVersionName")>]
abstract OSVersion : string with get
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")>
<DisplayNameKeyAttribute("Server_OSVersionName")>
ReadOnly Property OSVersion As String
Property Value
Type: System.String
The host computer operating system version.
See Also
IServerInformation Interface
Microsoft.SqlServer.Management.Smo Namespace
Return to top