This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAoInitialize Interface > IAoInitialize.InitializedProduct Method (ArcObjects .NET 10.5 SDK) |
Retrieve's the product code at which the application has been initialized.
[Visual Basic .NET] Public Function InitializedProduct ( _ ) As esriLicenseProductCode
[C#] public esriLicenseProductCode InitializedProduct ( );
[C++]
HRESULT InitializedProduct(
esriLicenseProductCode* ProductCode
);
[C++]
Parameters ProductCode [out, retval]
ProductCode is a parameter of type esriLicenseProductCode
The InitializedProduct method returns the product license that was passed to the Initialize method.
Checking what product license an application has been initialized with is useful for setting the enabled state of an applications functionality. For example, if an application containing some enterprise geodatabase editing has been initialized with an Engine Single Use with geodatabase editing or an ArcGIS for Desktop Standard or an ArcGIS for Desktop Advanced license, the editing functionality can be enabled. If, however, the application has been initialized with an Engine Single Use or ArcGIS for Desktop Basic license, the editing functionality must be disabled