IAdmVersion

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

Inheritance: IUnknown

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.

int CompareTo(string otherVersion)

Return value

The method returns an int 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