internal ProtectedConfigurationProvider GetProvider(string name, bool throwOnError)
{
ProtectedConfigurationProvider p = Providers[name];
if (p == null && throwOnError)
throw new ServerManagerException(string.Format("The protection provider '{0}' was not found.", name));
return p;
}
}