다음을 통해 공유


OSVersion 속성

Gets the OSVersion property value.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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