This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPFunction Interface > IGPFunction.IsLicensed Method (ArcObjects .NET 10.4 SDK) |
Returns whether the geoprocessing function has all necessary licenses in order to execute.
[Visual Basic .NET] Public Function IsLicensed ( _ ) As Boolean
[C#] public bool IsLicensed ( );
[C++]
HRESULT IsLicensed(
VARIANT_BOOL* IsLicensed
);
[C++]
Parameters IsLicensed [out, retval] IsLicensed is a parameter of type VARIANT_BOOL
The IsLicensed property is used to check if a function tool is licensed to execute in the active application.