Udostępnij przez


Information.VersionString Property

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

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property VersionString As String
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)] 
public string VersionString { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)] 
public:
property String^ VersionString {
    String^ get ();
}
/** @property */
public String get_VersionString ()
public function get VersionString () : String

Property Value

A String value that contains the date, the version, and the processor type of the instance of SQL Server.

Remarks

See the @@VERSION (Transact-SQL) command for information about how the returned string is formatted.

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.