Skip to content

IAdmVersion

The IAdmVersion interface can be used to retrieve the version number of a product.

Inheritance: The IAdmVersion interface inherits from the IUnknown interface.

Methods

  • Method

  • Description

  • ToString()

  • Returns a string representation of the version.

  • CompareTo()

  • Compares the current product version to another version.

Properties

Details

ToString()

Returns a string representation of the version.

String ToString()

CompareTo()

Compares the current product version to another version.

Int32 CompareTo(String otherVersion)

Return value

The method returns an Int32 that indicates the relative order of the versions being compared. The return value has the following meanings:

  • If the return value is less than zero, this version is earlier than the version specified in the otherVersion parameter.
  • If the return value is 0, the versions are equal.
  • If the return value is greater than zero, this version is later than the version specified in the otherVersion parameter.

Build

Gets the build.

  • Type:
  • int
  • Access:
  • Read-only

Major

Gets the major version.

  • Type:
  • int
  • Access:
  • Read-only

Minor

Gets the minor version.

  • Type:
  • int
  • Access:
  • Read-only

Revision

Gets the revision.

  • Type:
  • int
  • Access:
  • Read-only

Requirements

Minimum required version: 2009.1