private MultiValuedProperty <BindingMetadata> ValidateSharepointBindings(IEnumerable <string> bindings, Workload subWorkload, string workloadName, int maxCount)
        {
            base.WriteVerbose(Strings.VerboseValidatingSharepointBinding(workloadName));
            MultiValuedProperty <BindingMetadata> multiValuedProperty = new MultiValuedProperty <BindingMetadata>();

            if (bindings.Any <string>())
            {
                bindings = NewCompliancePolicyBase.ValidateWideScopeBinding(bindings, "All", "All", new BindingCannotCombineAllWithIndividualBindingsException(workloadName));
                SharepointValidator sharepointValidator = this.CreateSharepointValidator(string.Format("Validating {0} Binding", workloadName));
                multiValuedProperty = sharepointValidator.ValidateLocations(bindings);
                if (multiValuedProperty.Count <BindingMetadata>() > maxCount)
                {
                    throw new BindingCountExceedsLimitException(workloadName, maxCount);
                }
                NewCompliancePolicyBase.SetBindingsSubWorkload(multiValuedProperty, subWorkload);
            }
            return(multiValuedProperty);
        }