OSVersion 属性

Gets the OSVersion property value.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property OSVersion As String
    Get
用法
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

属性值

类型:System. . :: . .String
String

实现

IServerInformation. . :: . .OSVersion