Compartir a través de


OSVersion Propiedad

Gets the host computer operating system version.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")> _
<DisplayNameKeyAttribute("Server_OSVersionName")> _
ReadOnly Property OSVersion As String
    Get
'Uso
Dim instance As IServerInformation
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
String