This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Check In Extension License Snippet (ArcObjects .NET 10.4 SDK) |
Check in a specified ArcGIS extension license.
///<summary>Check in a specified ArcGIS extension license.</summary> /// ///<param name="licenseExtensionCode">An esriLicenseExtensionCode enumeration that is the ArcGIS extension license to check in (or release). Example: ESRI.ArcGIS.esriSystem.esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst</param> /// ///<remarks></remarks> public void CheckInExtensionLicense(ESRI.ArcGIS.esriSystem.esriLicenseExtensionCode licenseExtensionCode) { ESRI.ArcGIS.esriSystem.IAoInitialize aoInitialize=new ESRI.ArcGIS.esriSystem.AoInitializeClass(); aoInitialize.CheckInExtension(licenseExtensionCode); }
'''<summary>Check in a specified ArcGIS extension license.</summary> ''' '''<param name="licenseExtensionCode">An esriLicenseExtensionCode enumeration that is the ArcGIS extension license to check in (or release). Example: ESRI.ArcGIS.esriSystem.esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst</param> ''' '''<remarks></remarks> Public Sub CheckInExtensionLicense(ByVal licenseExtensionCode As ESRI.ArcGIS.esriSystem.esriLicenseExtensionCode) Dim aoInitialize As ESRI.ArcGIS.esriSystem.IAoInitialize=New ESRI.ArcGIS.esriSystem.AoInitializeClass aoInitialize.CheckInExtension(licenseExtensionCode) End Sub