This document is archived and information here might be outdated.  Recommended version.


IPlugInLicense.CheckExtensionLicense Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInLicense Interface > IPlugInLicense.CheckExtensionLicense Method
ArcGIS Developer Help

IPlugInLicense.CheckExtensionLicense Method

Checks if the license for the extension is enabled. Fails if not enabled.

[Visual Basic .NET]
Public Sub CheckExtensionLicense ( _
)
[C#]
public void CheckExtensionLicense (
);
[C++]
HRESULT CheckExtensionLicense(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Succeeds if the license is enabled. May attempt to enable the license if the extension is an automatic extension. If the license is not or cannot be enabled, this method should fail. If possible, it should fail with FDO_E_NO_OPERATION_LICENSE as the HRESULT.

See Also

IPlugInLicense Interface