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 中)
语法
声明
<DisplayNameKeyAttribute("Server_OSVersionName")> _
<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")> _
ReadOnly Property OSVersion As String
Get
用法
Dim instance As IServerSelectionFacet
Dim value As String
value = instance.OSVersion
[DisplayNameKeyAttribute("Server_OSVersionName")]
[DisplayDescriptionKeyAttribute("Server_OSVersionDesc")]
string OSVersion { get; }
[DisplayNameKeyAttribute(L"Server_OSVersionName")]
[DisplayDescriptionKeyAttribute(L"Server_OSVersionDesc")]
property String^ OSVersion {
String^ get ();
}
[<DisplayNameKeyAttribute("Server_OSVersionName")>]
[<DisplayDescriptionKeyAttribute("Server_OSVersionDesc")>]
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.