Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the major digits of the version information.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Server_VersionMajorName")> _
<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")> _
ReadOnly Property VersionMajor As Integer
Get
'Usage
Dim instance As IServerSelectionFacet
Dim value As Integer
value = instance.VersionMajor
[DisplayNameKeyAttribute("Server_VersionMajorName")]
[DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")]
int VersionMajor { get; }
[DisplayNameKeyAttribute(L"Server_VersionMajorName")]
[DisplayDescriptionKeyAttribute(L"Server_VersionMajorDesc")]
property int VersionMajor {
int get ();
}
[<DisplayNameKeyAttribute("Server_VersionMajorName")>]
[<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")>]
abstract VersionMajor : int
function get VersionMajor () : int
Property Value
Type: System.Int32
An integer value that contains the major digits of the version information.