Поделиться через


Свойство VersionString

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_VersionStringDesc")> _
<DisplayNameKeyAttribute("Server_VersionStringName")> _
ReadOnly Property VersionString As String
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .String
String