共用方式為


ServerVersion Constructors

Definition

Overloads

ServerVersion(Int32, Int32)

initializes server version

ServerVersion(Int32, Int32, Int32)

ServerVersion(Int32, Int32)

initializes server version

public ServerVersion (int major, int minor);
new Microsoft.SqlServer.Management.Common.ServerVersion : int * int -> Microsoft.SqlServer.Management.Common.ServerVersion
Public Sub New (major As Integer, minor As Integer)

Parameters

major
Int32
minor
Int32

Applies to

ServerVersion(Int32, Int32, Int32)

public ServerVersion (int major, int minor, int buildNumber);
new Microsoft.SqlServer.Management.Common.ServerVersion : int * int * int -> Microsoft.SqlServer.Management.Common.ServerVersion
Public Sub New (major As Integer, minor As Integer, buildNumber As Integer)

Parameters

major
Int32
minor
Int32
buildNumber
Int32

Applies to