Udostępnij za pośrednictwem


ServerVersion Constructor (Int32, Int32)

Initializes a new instance of the ServerVersion class.

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

Syntax

'Deklaracja
Public Sub New ( _
    major As Integer, _
    minor As Integer _
)
public ServerVersion (
    int major,
    int minor
)
public:
ServerVersion (
    int major, 
    int minor
)
public ServerVersion (
    int major, 
    int minor
)
public function ServerVersion (
    major : int, 
    minor : int
)

Parameters

  • major
    An Int32 value that specifies the major part of the server version number.
  • minor
    An Int32 value that specifies the minor part of the server version number.

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.