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.

.NET Snippets

Display Product License And Extensions Information | Check In Extension License | Check Out Extension License |

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: LicenseInitializer) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Closest facility solver (Code Files: LicenseInitializer) | Extending the replication synchronization process (Code Files: RegisterExtension) | Extension implementation (Code Files: ArcEditorOnlyExtension ArcInfoOnlyExtension ArcViewOnlyExtension) | Find the closest intersection from a point (Code Files: FindClosestIntersection) | Geodesy MapControl (Code Files: GeodesyMapControl) | Geoprocessing field mapping (Code Files: FieldMapping) | Locate coordinates (Code Files: LocateCoordinates) | Location-allocation solver (Code Files: LicenseInitializer) | Origin-destination cost matrix solver (Code Files: LicenseInitializer) | Publish an image service and set configurations (Code Files: ISConfig) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: LicenseInitializer) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Route layer (Code Files: LicenseInitializer) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Service area solver (Code Files: LicenseInitializer) | Vehicle routing problem solver (Code Files: LicenseInitializer) |

.NET Related Topics

Accessing licensing and extensions for the geoprocessor | How to change label formats and marks on an axis using a line graph | How to create a 3D pie graph | How to create a box plot graph | How to create a function series graph | How to create a graph template | How to create a histogram graph | How to create a selection set using a scatter plot graph | How to create a vertical stack area graph | How to create graph series with different color types | How to create multiple vertical bar graphs | How to group data into separate lines on a line graph | How to sort data in the graph | How to use extensions | Performing a spatial analysis operation using objects | Version |