GetSwitchFeatureId( SwitchFeatureType featureType) { string featureId; switch (featureType) { case SwitchFeatureType.Bandwidth: featureId = "3EB2B8E8-4ABF-4DBF-9071-16DD47481FBE"; break; default: throw new ManagementException("The given switch feature type is unrecognized."); } return(featureId); }
GetSwitchFeatureId( SwitchFeatureType featureType) { string featureId; switch (featureType) { case SwitchFeatureType.Bandwidth: featureId = "3EB2B8E8-4ABF-4DBF-9071-16DD47481FBE"; break; default: throw new ManagementException("The given switch feature type is unrecognized."); } return featureId; }