Condividi tramite


Proprietà OSVersion

Gets the operating system version of the computer running the instance of SQL Server.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property OSVersion As String
    Get
'Utilizzo
Dim instance As Information
Dim value As String

value = instance.OSVersion
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string OSVersion { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property String^ OSVersion {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member OSVersion : string
function get OSVersion () : String

Valore proprietà

Tipo: System. . :: . .String
A String value that specifies the operating system version.