This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInLicense Interface > IPlugInLicense.CheckExtensionLicense Method (ArcObjects .NET 10.4 SDK) |
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
);
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.