Check in an extension.
[Visual Basic .NET] Public Function CheckInExtension ( _ ByVal extensionCode As esriLicenseExtensionCode _ ) As esriLicenseStatus
[C#] public esriLicenseStatus CheckInExtension ( esriLicenseExtensionCode extensionCode );
[C++]
HRESULT CheckInExtension(
esriLicenseExtensionCode extensionCode,
esriLicenseStatus* licenseStatus
);
[C++]Parameters
extensionCode [in]extensionCode is a parameter of type esriLicenseExtensionCode
licenseStatus [out, retval]licenseStatus is a parameter of type esriLicenseStatus
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Checks in the specified extension license once it has been checked out with the CheckOutExtension method.
The way that the extensions are checked in and out will depend on the type of product license passed to the Initialize method.
- If the application was initialized with either of the Engine Single Use licenses, any extensions used by the application will also be Engine Single Use. As such any extensions can be checked out directly after the application is initialized and checked back in before Shutdown.
- If the application was initialized with a license server and the extensions are required by the application for it to run successfully, the extensions should be checked out directly after the application is initialized and checked back in before Shutdown.
- If the application was initialized with a license server and the extension functionality is not necessary for the application to function, the extensions can either be checked out directly after the application is initialized or checked out as and when the extension functionality is required. When the extension is checked in the functionality should be disabled. Use the IsExtensionCheckedOut method determines whether the extension is already checked out.