Partager via


Propriété OSVersion

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

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

Syntaxe

'Déclaration
Public ReadOnly Property OSVersion As String
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IServerSelectionFacet. . :: . .OSVersion