Freigeben über


OSVersion-Eigenschaft

Gets the host computer operating system version.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_OSVersionName")> _
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")> _
ReadOnly Property OSVersion As String
    Get
'Usage
Dim instance As IServerInformation
Dim value As String

value = instance.OSVersion
[DisplayNameKeyAttribute("Server_OSVersionName")]
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")]
string OSVersion { get; }
[DisplayNameKeyAttribute(L"Server_OSVersionName")]
[DisplayDescriptionKeyAttribute(L"Server_OSVersionDesc")]
property String^ OSVersion {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_OSVersionName")>]
[<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")>]
abstract OSVersion : string
function get OSVersion () : String

Eigenschaftswert

Typ: System. . :: . .String
String