Partager via


Propriété ManagedInstance.OSVersion

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property OSVersion As String 
    Get
'Utilisation
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

Valeur de propriété

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

Voir aussi

Référence

ManagedInstance Classe

Espace de noms Microsoft.SqlServer.Management.Utility