Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.