public override XElement ToXml()
{
var result = base.ToXml();
result.Add(new XAttribute("ServerType", ServerType));
result.Add(new XAttribute("Type", ServerType));
result.Add(new XAttribute("ConnectionString", DpapiWrapper.Encrypt(ConnectionString) ?? string.Empty));
result.Add(new XElement("AuthorRoles", string.Empty));
result.Add(new XElement("Comment", string.Empty));
result.Add(new XElement("HelpLink", string.Empty));
result.Add(new XElement("Tags", string.Empty));
result.Add(new XElement("UnitTestTargetWorkflowService", string.Empty));
result.Add(new XElement("BizRule", string.Empty));
result.Add(new XElement("WorkflowActivityDef", string.Empty));
return result;
}