ServerVersion Members

The ServerVersion class represents the version information for the server.

The following tables list the members exposed by the ServerVersion type.

Public Constructors

  名称 Description
ServerVersion Overloaded. Initializes a new instance of the ServerVersion class.

顶部

Public Properties

  名称 Description
ms218637.pubproperty(zh-cn,SQL.90).gif BuildNumber Gets the build number part of the server version information.
ms218637.pubproperty(zh-cn,SQL.90).gif Major Gets the build number part of the server version information.
ms218637.pubproperty(zh-cn,SQL.90).gif Minor Gets the build number part of the server version information.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms218637.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218637.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms218637.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms218637.pubmethod(zh-cn,SQL.90).gifms218637.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218637.pubmethod(zh-cn,SQL.90).gif ToString Overridden. Returns the object in string format.

顶部

Protected Methods

  名称 Description
ms218637.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms218637.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ServerVersion Class
Microsoft.SqlServer.Management.Common Namespace