Freigeben über


OSVersion-Eigenschaft

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

Eigenschaftswert

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

Implementiert

IServerSelectionFacet. . :: . .OSVersion