com.esri.arcgis.system
Interface ILicenseInformation

All Superinterfaces:
Serializable
All Known Implementing Classes:
AoInitialize

public interface ILicenseInformation
extends Serializable

Provides access to retrieve the name for license product code.

Description

Provides methods to return the names of license extension and product code constants.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 String getLicenseExtensionName(int extensionCode)
          Retrieve the name license extension code.
 String getLicenseProductName(int productCode)
          Retrieve the name license product code.
 ILicenseInfoEnum getProductExtensions(int productCode)
          Enumerate the extensions supported the product.
 

Method Detail

getLicenseProductName

String getLicenseProductName(int productCode)
                             throws IOException,
                                    AutomationException
Retrieve the name license product code.

Description

Returns the name of the specified license product code constant.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
productCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
Returns:
The productName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseExtensionName

String getLicenseExtensionName(int extensionCode)
                               throws IOException,
                                      AutomationException
Retrieve the name license extension code.

Description

Returns the name of the specified license extension code constant.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
extensionCode - A com.esri.arcgis.system.esriLicenseExtensionCode constant (in)
Returns:
The extensionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProductExtensions

ILicenseInfoEnum getProductExtensions(int productCode)
                                      throws IOException,
                                             AutomationException
Enumerate the extensions supported the product.

Description

Returns an ILicenseInfoEnum collection of license extension codes supported by the specified license product code. Note that all supported extension codes are returned and not just the ones available on the current license server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
productCode - A com.esri.arcgis.system.esriLicenseProductCode constant (in)
Returns:
A reference to a com.esri.arcgis.system.ILicenseInfoEnum
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.