ServerVersion Class
The ServerVersion class represents the version information for the server.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Common.ServerVersion
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Bildirim
<SerializableAttribute> _
Public Class ServerVersion
'Kullanım
Dim instance As ServerVersion
[SerializableAttribute]
public class ServerVersion
[SerializableAttribute]
public ref class ServerVersion
[<SerializableAttribute>]
type ServerVersion = class end
public class ServerVersion
The ServerVersion type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServerVersion(Int32, Int32) | Initializes a new instance of the ServerVersion class. | |
ServerVersion(Int32, Int32, Int32) | Initializes a new instance of the ServerVersion class. |
Top
Properties
Name | Description | |
---|---|---|
BuildNumber | Gets the build number part of the server version information. | |
Major | Gets the build number part of the server version information. | |
Minor | Gets the build number part of the server version information. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the object in string format. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Explicit(ServerVersion to Version) | Creates a system version object representing the sercer version, |
Top
Remarks
The ServerVersion class is served by the ConnectionManager class.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.