set License
License an application for deployment using license info for named-user access. A license info instance can be obtained from a portal for the current logged in user. The license info instance is only valid for 30 days so the user will be required to log into the portal again when this expires.
Return
the LicenseResult of the main license attempting to be set. A null is returned on error.
Since
200.1.0
Parameters
the LicenseInfo used for named-user access
Throws
if a license has already been set or cannot be changed
License an application for deployment using an ESRI license string and one or more extension license strings.
Return
the LicenseResult of the main license attempting to be set. A null is returned on error.
Since
200.1.0
Parameters
a LicenseKey indicating a lite, basic, standard, or advanced ESRI license
a list of LicenseKey for ESRI extension license
Throws
if a license has already been set or cannot be changed