/// <summary>
 /// Given a publish settings block of Xml - adds a management certificate to the request
 /// </summary>
 IDeploymentActivity ICertificateActivity.AddPublishSettingsFromXml(string xml)
 {
     ManagementCertificate = PublishSettingsExtractor.GetCertificateFromXml(xml);
     return(this);
 }
 /// <summary>
 /// Adds a .publishsettings profile from a given body of Xml
 /// </summary>
 public ISubscriptionQuery AddPublishSettingsFromXml(string xml)
 {
     ManagementCertificate = PublishSettingsExtractor.GetCertificateFromXml(xml);
     return(this);
 }