ArcGIS Enterprise SDK
IAoInitialize Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.System > Interfaces > IA > IAoInitialize Interface
ArcGIS Developer Help (ESRI.ArcGIS.esriSystem)

IAoInitialize Interface

Provides access to members that initialize licensing for ArcGIS Desktop, Engine, and 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

Name 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.

Classes that implement IAoInitialize

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