Check in a specified ArcGIS extension license.
[C#]
///<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); }
[Visual Basic .NET]
'''<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