Exchange archiving

This commit is contained in:
dev_amdtel 2014-04-14 23:12:27 +04:00
parent 5f951183e3
commit 7755217dfb
21 changed files with 1485 additions and 265 deletions

View file

@ -29,6 +29,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace WebsitePanel.Providers.HostedSolution
{
@ -223,5 +224,14 @@ namespace WebsitePanel.Providers.HostedSolution
get { return this.enableArchiving; }
set { this.enableArchiving = value; }
}
public string WSPUniqueName
{
get
{
Regex r = new Regex(@"[^A-Za-z0-9]");
return "WSPPolicy" + MailboxPlanId.ToString() + "_" + r.Replace(MailboxPlan, "");
}
}
}
}

View file

@ -29,6 +29,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace WebsitePanel.Providers.HostedSolution
{
@ -76,5 +77,13 @@ namespace WebsitePanel.Providers.HostedSolution
set { retentionAction = value; }
}
public string WSPUniqueName
{
get
{
Regex r = new Regex(@"[^A-Za-z0-9]");
return "WSPPolicyTag" + TagID.ToString() + "_" + r.Replace(TagName, "");
}
}
}
}

View file

@ -130,5 +130,14 @@ namespace WebsitePanel.Providers.HostedSolution
// Disclaimers
int NewDisclaimerTransportRule(string Name, string From, string Text);
int RemoveTransportRule(string Name);
// Archiving
void SetMailBoxArchiving(string organizationId, string accountName, bool archive, long archiveQuotaKB, long archiveWarningQuotaKB, string RetentionPolicy);
// Retention policy
void SetRetentionPolicyTag(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction);
void RemoveRetentionPolicyTag(string Identity);
void SetRetentionPolicy(string Identity, string[] RetentionPolicyTagLinks);
void RemoveRetentionPolicy(string Identity);
}
}