Udostępnij przez


IServerInformation.OSVersion Property

Gets the host computer operating system version. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")> _
<DisplayNameKeyAttribute("Server_OSVersionName")> _
ReadOnly Property OSVersion As String
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")] 
[DisplayNameKeyAttribute("Server_OSVersionName")] 
string OSVersion { get; }
[DisplayDescriptionKeyAttribute(L"Server_OSVersionDesc")] 
[DisplayNameKeyAttribute(L"Server_OSVersionName")] 
property String^ OSVersion {
    String^ get ();
}
/** @property */
String get_OSVersion ()
function get OSVersion () : String

Property Value

String

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.