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
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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 ArcEditor or an ArcInfo license, the editing functionality can be enabled. If however the application has been initialized with an Engine Single Use or ArcView license the editing functionality must be disabled
See Also
IAoInitialize Interface
.NET Snippets
Display Product License And Extensions Information |
.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) |
Extension implementation (Code Files:
ArcEditorOnlyExtension ArcInfoOnlyExtension ArcViewOnlyExtension) |
Location-allocation solver (Code Files:
LicenseInitializer) |
Origin-destination cost matrix solver (Code Files:
LicenseInitializer) |
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) |