Condividi tramite


Proprietà OSVersion

Gets the operating system version of the managed instance of SQL Server.

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

Sintassi

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

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

Valore proprietà

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