Partager via


Propriété Server.OSVersion

Gets the OSVersion property value.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property OSVersion As String 
    Get
'Utilisation
Dim instance As Server 
Dim value As String 

value = instance.OSVersion
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public string OSVersion { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
virtual property String^ OSVersion {
    String^ get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
abstract OSVersion : string
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
override OSVersion : string
final function get OSVersion () : String

Valeur de propriété

Type : System.String
The OSVersion property value.

Implémente

IServerInformation.OSVersion

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo