internal static string GetFeatureCategoryLabel(BIDSFeatureCategories featureCategory) { // Decode enum into catgeory, just in one place, so easy to localise // if we want to in the future switch (featureCategory) { case BIDSFeatureCategories.General: return "General"; case BIDSFeatureCategories.SSAS: return "SQL Server Analysis Services (SSAS)"; case BIDSFeatureCategories.SSIS: return "SQL Server Integration Services (SSIS)"; case BIDSFeatureCategories.SSRS: return "SQL Server Reporting Services (SSRS)"; } throw new ArgumentOutOfRangeException(); }
internal static string GetFeatureCategoryLabel(BIDSFeatureCategories featureCategory) { // Decode enum into catgeory, just in one place, so easy to localise // if we want to in the future switch (featureCategory) { case BIDSFeatureCategories.General: return("General"); case BIDSFeatureCategories.SSAS: return("SQL Server Analysis Services (SSAS)"); case BIDSFeatureCategories.SSIS: return("SQL Server Integration Services (SSIS)"); case BIDSFeatureCategories.SSRS: return("SQL Server Reporting Services (SSRS)"); } throw new ArgumentOutOfRangeException(); }
public FeatureCategory(BIDSFeatureCategories category) { _category = category; }