ArcObjects Library Reference (System)  

IAoInitialize Interface

Provides access to members that initialize licensing for ArcGIS Desktop, Engine, and Server.

Product Availability

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

Description

The IAoInitialize Interface is the starting point for developers to initialize each application with a suitable license(s) in order for it to run successfully on any machine it is deployed on to. License configuration must be undertaken at application start time, before any ArcObjects are accessed. Failure to do so will result in application errors. 

Members

Description
Method CheckInExtension Check in an extension.
Method CheckOutExtension Check out an extension.
Method Initialize This must be called before any other ArcObjects are created to initialize product Code. If called a second time during the life time of an executable with a new product code, it will return esriLicenseAlreadyInitialized.
Method InitializedProduct Retrieve's the product code at which the application has been initialized.
Method IsExtensionCheckedOut Is the Extension checked out.
Method IsExtensionCodeAvailable Check if the Product Code is available and then the Extension Code for that product.
Method IsProductCodeAvailable Check if the Product Code is available.
Method Shutdown Shutdown method. This should be the last call to ArcObjects in an application.

CoClasses that implement IAoInitialize

CoClasses and Classes Description
AoInitialize Class initializes ArcObject components runtime environment. This class must be the first ArcObject created.