_Application::VersionMajor property

The VersionMajor property returns the major version number of MMC. This property is read-only.

Syntax

Property VersionMajor As Long

Property value

Long value that represents the major version number of the MMC application. For example, if this property returned the value 2, then MMC version 2.x is running.

Examples

Dim VerMajor As Long
VerMajor = objMMC.VersionMajor

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
CLSID
CLSID_Application is defined as 49B2791A-B1AE-4C90-9B8E-E860BA07F889
IID
IID__Application is defined as A3AFB9CC-B653-4741-86AB-F0470EC1384C