Udostępnij przez


IServerInformation.VersionString Property

Gets the date, version, and processor type of the instance of SQL Server. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Server_VersionStringDesc")> _
<DisplayNameKeyAttribute("Server_VersionStringName")> _
ReadOnly Property VersionString As String
[DisplayDescriptionKeyAttribute("Server_VersionStringDesc")] 
[DisplayNameKeyAttribute("Server_VersionStringName")] 
string VersionString { get; }
[DisplayDescriptionKeyAttribute(L"Server_VersionStringDesc")] 
[DisplayNameKeyAttribute(L"Server_VersionStringName")] 
property String^ VersionString {
    String^ get ();
}
/** @property */
String get_VersionString ()
function get VersionString () : String

Property Value

String

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.