com.esri.arcgis.datasourcesfile
Interface IDataLicenseManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
IDataLicenseManagerProxy, LicensedDataExtension

public interface IDataLicenseManager
extends Serializable

Provides access to data license manager.

Product Availability

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


Method Summary
 void addLicenseFromFile(String bstrLicenseFileName)
          Adds license information.
 int getCount()
          Number of license information.
 IDataLicenseInfo getLicenseInfo(int nIdx)
          Returns license information by index.
 IDataLicenseInfo getLicenseInfoFromFile(String bstrLicenseFileName)
          Returns license information by file name.
 void removeLicense(int nIdx)
          Removes license information.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Number of license information.

Product Availability

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

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseInfo

IDataLicenseInfo getLicenseInfo(int nIdx)
                                throws IOException,
                                       AutomationException
Returns license information by index.

Product Availability

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

Parameters:
nIdx - The nIdx (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IDataLicenseInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLicenseFromFile

void addLicenseFromFile(String bstrLicenseFileName)
                        throws IOException,
                               AutomationException
Adds license information.

Product Availability

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

Parameters:
bstrLicenseFileName - The bstrLicenseFileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeLicense

void removeLicense(int nIdx)
                   throws IOException,
                          AutomationException
Removes license information.

Product Availability

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

Parameters:
nIdx - The nIdx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseInfoFromFile

IDataLicenseInfo getLicenseInfoFromFile(String bstrLicenseFileName)
                                        throws IOException,
                                               AutomationException
Returns license information by file name.

Product Availability

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

Parameters:
bstrLicenseFileName - The bstrLicenseFileName (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IDataLicenseInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.