ArcGIS Pro 2.9 API Reference Guide
CheckoutLicense Method

ArcGIS.Core.Licensing Namespace > LicenseInformation Class : CheckoutLicense Method
The license code to check.
Checks out a specific license code. Applicable to concurrent use licensing only.
Syntax
public static bool CheckoutLicense( 
   LicenseCodes code
)
Public Shared Function CheckoutLicense( _
   ByVal code As LicenseCodes _
) As Boolean

Parameters

code
The license code to check.

Return Value

True if the specified license code was successfully checkout out.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

LicenseInformation Class
LicenseInformation Members