I need to run a Visibility analysis, which requires a Spatial Analyst license. In ArcObjects, I enable/checkout a license using the IExtensionManagerAdmin and IExtensionConfig interfaces, then call the Visibility method on ISurfaceOp2.
In the ArcGIS Pro SDK, I believe Visibility analysis must be run through the geoprocessing tool, and our administrator enabled a Spatial Analyst license for my Named User license. How would I enable/checkout a license in a Concurrent Use environment? Would ArcGIS Pro check one out automatically as needed? The only functionality I can find right now is to check whether or not a license is available via LicenseInformation.IsAvailable, but I can't find how to actively check one out.
Thanks!
Solved! Go to Solution.
Hi Laimonas,
Here is a section in our wiki that discusses how to get the list of ArcGIS Pro licenses checked out :
Check-in and Check-out licences
This section also has a code snippet showing you how you can implement this in an add-in.
Is this the information you are looking for?
Thanks
Uma