IServerSelectionFacet.OSVersion 属性

Gets the version of the operating system used by the computer hosting the server.

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

语法

声明
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")> _
<DisplayNameKeyAttribute("Server_OSVersionName")> _
ReadOnly Property OSVersion As String 
    Get
用法
Dim instance As IServerSelectionFacet 
Dim value As String 

value = instance.OSVersion
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")]
[DisplayNameKeyAttribute("Server_OSVersionName")]
string OSVersion { get; }
[DisplayDescriptionKeyAttribute(L"Server_OSVersionDesc")]
[DisplayNameKeyAttribute(L"Server_OSVersionName")]
property String^ OSVersion {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")>]
[<DisplayNameKeyAttribute("Server_OSVersionName")>]
abstract OSVersion : string
function get OSVersion () : String

属性值

类型:System.String
A string value that specifies the version of the operating system used by the computer hosting the server.

请参阅

参考

IServerSelectionFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间