Skip to main content

CheckOutExtension

サマリー

Retrieves the license from the License Manager.

ディスカッション

レガシー:

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.

構文

CheckOutExtension(extension_code)

パラメーター 説明 データ タイプ

extension_code

Specifies the extension product to be checked out.

String

戻り値

データ タイプ 説明

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.