Dela via


ServerSelectionAdapter.OSVersion Property

Gets a string value that specifies the operating system version for the computer hosting the server.

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

Syntax

'Declaration
Public ReadOnly Property OSVersion As String 
    Get
'Usage
Dim instance As ServerSelectionAdapter 
Dim value As String 

value = instance.OSVersion
public string OSVersion { get; }
public:
virtual property String^ OSVersion {
    String^ get () sealed;
}
abstract OSVersion : string 
override OSVersion : string
final function get OSVersion () : String

Property Value

Type: System.String
A string value that specifies the operating system version for the computer hosting the server.

Implements

IServerSelectionFacet.OSVersion

See Also

Reference

ServerSelectionAdapter Class

Microsoft.SqlServer.Management.Smo Namespace