fix wsp-10243 Exchange 2010 - Retention policy errors
This commit is contained in:
parent
b820a28f85
commit
12b1a08168
1 changed files with 18 additions and 15 deletions
|
@ -3372,6 +3372,8 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
|
|
||||||
ExchangeMailboxPlan policy = GetExchangeMailboxPlan(itemID, policyId);
|
ExchangeMailboxPlan policy = GetExchangeMailboxPlan(itemID, policyId);
|
||||||
|
|
||||||
|
if (policy != null)
|
||||||
|
{
|
||||||
List<ExchangeMailboxPlanRetentionPolicyTag> policytaglist = GetExchangeMailboxPlanRetentionPolicyTags(policyId);
|
List<ExchangeMailboxPlanRetentionPolicyTag> policytaglist = GetExchangeMailboxPlanRetentionPolicyTags(policyId);
|
||||||
|
|
||||||
List<string> tagLinks = new List<string>();
|
List<string> tagLinks = new List<string>();
|
||||||
|
@ -3391,6 +3393,7 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
ResultObject res = exchange.SetRetentionPolicy(policy.WSPUniqueName, tagLinks.ToArray());
|
ResultObject res = exchange.SetRetentionPolicy(policy.WSPUniqueName, tagLinks.ToArray());
|
||||||
result.ErrorCodes.AddRange(res.ErrorCodes);
|
result.ErrorCodes.AddRange(res.ErrorCodes);
|
||||||
result.IsSuccess = result.IsSuccess && res.IsSuccess;
|
result.IsSuccess = result.IsSuccess && res.IsSuccess;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue