public override void FeatureInstalled(SPFeatureReceiverProperties properties) { base.FeatureInstalled(properties); // This call registers the areas and categories of the LoggingService with SharePoint so that they appear in the // diagnostic configuration screen in Central Administration. GlymaSearchLoggingService service = GlymaSearchLogger.Service; }
public override void FeatureUninstalling(SPFeatureReceiverProperties properties) { base.FeatureUninstalling(properties); // Removes the areas and categories of the LoggingService from SharePoint so that they no longer appear in the // diagnostic configuration screen in Central Administration. GlymaSearchLoggingService service = GlymaSearchLogger.Service; if (service != null) { service.Delete(); } }