Partager via


OSVersion propriété

Gets the OSVersion property value.

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

Syntaxe

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

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

Valeur de la propriété

Type : System. . :: . .String
String

Implémente

IServerInformation. . :: . .OSVersion