Skip to main content

CheckOutExtension

Résumé

Retrieves the license from the License Manager.

Discussion

Héritage :

Starting with ArcGIS Pro 3.7, the Concurrent Use license type is deprecated and no longer supported. As a result, this function no longer performs any action. The function is retained for backward compatibility with existing scripts, but has no effect, and is not required when running tools that use extension licenses.

Syntaxe

CheckOutExtension(extension_code)

Le paramètre Explication Type de données

extension_code

Specifies the extension product to be checked out.

String

Valeur de retour

Type de données Explication

String

The function returns a string indicating the success or failure of the checkout.

  • NotInitialized—No license has been set.

  • Unavailable—The requested license is unavailable to be set.

  • CheckedOut—The license has been set successfully.