Compartilhar via


Construtor ServerVersion (Int32, Int32)

Inicializa uma nova instância da classe ServerVersion.

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

Sintaxe

'Declaração
Public Sub New ( _
    major As Integer, _
    minor As Integer _
)
'Uso
Dim major As Integer
Dim minor As Integer

Dim instance As New ServerVersion(major, minor)
public ServerVersion(
    int major,
    int minor
)
public:
ServerVersion(
    int major, 
    int minor
)
new : 
        major:int * 
        minor:int -> ServerVersion
public function ServerVersion(
    major : int, 
    minor : int
)

Parâmetros