Freigeben über


VersionString-Eigenschaft

Gets the date, version, and processor type of the instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_VersionStringDesc")> _
<DisplayNameKeyAttribute("Server_VersionStringName")> _
ReadOnly Property VersionString As String
    Get
'Usage
Dim instance As IServerInformation
Dim value As String

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

Eigenschaftenwert

Typ: System. . :: . .String
String