共用方式為


ServerSelectionAdapter.OSVersion 屬性

Gets a string value that specifies the operating system version for the computer hosting the server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property OSVersion As String 
    Get
'用途
Dim instance As ServerSelectionAdapter 
Dim value As String 

value = instance.OSVersion
public string OSVersion { get; }
public:
virtual property String^ OSVersion {
    String^ get () sealed;
}
abstract OSVersion : string 
override OSVersion : string
final function get OSVersion () : String

屬性值

型別:System.String
A string value that specifies the operating system version for the computer hosting the server.

實作

IServerSelectionFacet.OSVersion

請參閱

參考

ServerSelectionAdapter 類別

Microsoft.SqlServer.Management.Smo 命名空間