private void GetServiceSettings()
{
// execute the command
var command = new GetMobileServiceSettingsCommand(MobileServiceName, Constants.MobileServicesServiceSettings)
{
SubscriptionId = SubscriptionId,
Certificate = ManagementCertificate
};
command.Execute();
// get all the mobile providers returned
var settings = (JObject)JsonConvert.DeserializeObject(command.JsonResult);
DynamicSchemaEnabled = (bool)settings.GetValue(Constants.DynamicSchemaEnabled).ToObject(typeof(bool));
}