private void GetMobileServiceResources()
{
//execute the details command
var details = new GetMobileServiceResourcesCommand(MobileServiceName)
{
SubscriptionId = SubscriptionId,
Certificate = ManagementCertificate
};
details.Execute();
//set all of the details in the client
SqlAzureDbName = details.DatabaseName;
SqlAzureServerName = details.ServerName;
MobileServiceSqlName = details.MobileServiceServerName;
MobileServiceDbName = details.MobileServiceDatabaseName;
Description = details.Description;
MobileServiceState = details.State;
}