Delen via


ManagedInstance.OSVersion Property

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property OSVersion As String 
    Get
'Usage
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

Property Value

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

See Also

Reference

ManagedInstance Class

Microsoft.SqlServer.Management.Utility Namespace