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


IGPFunction.IsLicensed Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFunction.IsLicensed Method

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

Product Availability

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

Remarks

The IsLicensed property is used to check if a function tool is licensed to execute in the active application.

See Also

IGPFunction Interface