Sdílet prostřednictvím


Server.VersionString Property

Gets the VersionString property value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property VersionString As String
    Get
'Usage
Dim instance As Server
Dim value As String

value = instance.VersionString
[SfcPropertyAttribute]
public string VersionString { get; }
[SfcPropertyAttribute]
public:
virtual property String^ VersionString {
    String^ get () sealed;
}
[<SfcPropertyAttribute>]
abstract VersionString : string
[<SfcPropertyAttribute>]
override VersionString : string
final function get VersionString () : String

Property Value

Type: System.String
String

Implements

IServerInformation.VersionString