Partager via


ServerVersion Constructor (Int32, Int32)

Initializes a new instance of the ServerVersion class.

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • 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.

Notes

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ServerVersion Class
ServerVersion Members
Microsoft.SqlServer.Management.Common Namespace