Export (0) Print
Expand All

ServerVersion Class

The ServerVersion class represents the version information for the server.

Object
  Microsoft.SqlServer.Management.Common.ServerVersion

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

[SerializableAttribute]
public class ServerVersion

The ServerVersion type exposes the following members.

  NameDescription
Public methodServerVersion(Int32, Int32)Initializes a new instance of the ServerVersion class.
Public methodServerVersion(Int32, Int32, Int32)Initializes a new instance of the ServerVersion class.
Top

  NameDescription
Public propertyBuildNumberGets the build number part of the server version information.
Public propertyMajorGets the build number part of the server version information.
Public propertyMinorGets the build number part of the server version information.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the object in string format. (Overrides ObjectToString.)
Top

  NameDescription
Public operatorStatic memberExplicit(ServerVersion to Version)Creates a system version object representing the sercer version,
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft