Condividi tramite


Proprietà VersionString

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_VersionStringDesc")> _
<DisplayNameKeyAttribute("Server_VersionStringName")> _
ReadOnly Property VersionString As String
    Get
'Utilizzo
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

Valore proprietà

Tipo: System. . :: . .String
String