public override int Execute()
 {
     FeatureAccessManager.GetProviderRegistry().RegisterProvider(
         _name,
         _displayName,
         _description,
         _version,
         _fdoVersion,
         _libraryPath,
         _isManaged);
     WriteLine("New provider registered: {0}", _name);
     return((int)CommandStatus.E_OK);
 }
        public override int Execute()
        {
            ProviderCollection providers = FeatureAccessManager.GetProviderRegistry().GetProviders();

            using (providers)
            {
                foreach (Provider provider in providers)
                {
                    Console.WriteLine("\nProvider Name: {0}\n", provider.Name);
                    Console.WriteLine("\tDisplay Name: {0}\n\tDescription: {1}\n\tLibrary Path: {2}\n\tVersion: {3}\n\tFDO Version: {4}\n\tIs Managed: {5}",
                                      provider.DisplayName,
                                      provider.Description,
                                      provider.LibraryPath,
                                      provider.Version,
                                      provider.FeatureDataObjectsVersion,
                                      provider.IsManaged);
                }
            }
            return((int)CommandStatus.E_OK);
        }
 public override int Execute()
 {
     FeatureAccessManager.GetProviderRegistry().UnregisterProvider(_name);
     WriteLine("Provider un-registered: {0}", _name);
     return((int)CommandStatus.E_OK);
 }