This document is archived and information here might be outdated. Recommended version. |
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(
void
);
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