|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPTool Interface > IGPTool.IsLicensed Method (ArcObjects .NET 10.5 SDK) | 
Returns whether the tool is licensed to be executed.
[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