Partial Check in Exchange Litigation Hold

This commit is contained in:
robvde 2012-12-08 09:24:08 +04:00
parent 5de2f648b8
commit 87528108f8
29 changed files with 626 additions and 7013 deletions

View file

@ -29,7 +29,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.5456
// Runtime Version:2.0.50727.6400
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -37,19 +37,18 @@
//------------------------------------------------------------------------------
//
// This source code was auto-generated by wsdl, Version=2.0.50727.42.
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
using WebsitePanel.Providers.HostedSolution;
namespace WebsitePanel.Providers.Exchange
{
namespace WebsitePanel.Providers.Exchange {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
using System.Diagnostics;
/// <remarks/>
@ -85,6 +84,8 @@ namespace WebsitePanel.Providers.Exchange
private System.Threading.SendOrPostCallback AddAuthoritativeDomainOperationCompleted;
private System.Threading.SendOrPostCallback ChangeAcceptedDomainTypeOperationCompleted;
private System.Threading.SendOrPostCallback GetAuthoritativeDomainsOperationCompleted;
private System.Threading.SendOrPostCallback DeleteAuthoritativeDomainOperationCompleted;
@ -233,6 +234,9 @@ namespace WebsitePanel.Providers.Exchange
/// <remarks/>
public event AddAuthoritativeDomainCompletedEventHandler AddAuthoritativeDomainCompleted;
/// <remarks/>
public event ChangeAcceptedDomainTypeCompletedEventHandler ChangeAcceptedDomainTypeCompleted;
/// <remarks/>
public event GetAuthoritativeDomainsCompletedEventHandler GetAuthoritativeDomainsCompleted;
@ -516,7 +520,10 @@ namespace WebsitePanel.Providers.Exchange
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool hideFromAddressBook,
bool isConsumer) {
bool isConsumer,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning) {
object[] results = this.Invoke("CreateMailEnableUser", new object[] {
upn,
organizationId,
@ -539,7 +546,10 @@ namespace WebsitePanel.Providers.Exchange
maxSendMessageSizeKB,
maxReceiveMessageSizeKB,
hideFromAddressBook,
isConsumer});
isConsumer,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning});
return ((string)(results[0]));
}
@ -567,6 +577,9 @@ namespace WebsitePanel.Providers.Exchange
int maxReceiveMessageSizeKB,
bool hideFromAddressBook,
bool isConsumer,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning,
System.AsyncCallback callback,
object asyncState) {
return this.BeginInvoke("CreateMailEnableUser", new object[] {
@ -591,7 +604,10 @@ namespace WebsitePanel.Providers.Exchange
maxSendMessageSizeKB,
maxReceiveMessageSizeKB,
hideFromAddressBook,
isConsumer}, callback, asyncState);
isConsumer,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning}, callback, asyncState);
}
/// <remarks/>
@ -623,8 +639,11 @@ namespace WebsitePanel.Providers.Exchange
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool hideFromAddressBook,
bool isConsumer) {
this.CreateMailEnableUserAsync(upn, organizationId, organizationDistinguishedName, accountType, mailboxDatabase, offlineAddressBook, addressBookPolicy, accountName, enablePOP, enableIMAP, enableOWA, enableMAPI, enableActiveSync, issueWarningKB, prohibitSendKB, prohibitSendReceiveKB, keepDeletedItemsDays, maxRecipients, maxSendMessageSizeKB, maxReceiveMessageSizeKB, hideFromAddressBook, isConsumer, null);
bool isConsumer,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning) {
this.CreateMailEnableUserAsync(upn, organizationId, organizationDistinguishedName, accountType, mailboxDatabase, offlineAddressBook, addressBookPolicy, accountName, enablePOP, enableIMAP, enableOWA, enableMAPI, enableActiveSync, issueWarningKB, prohibitSendKB, prohibitSendReceiveKB, keepDeletedItemsDays, maxRecipients, maxSendMessageSizeKB, maxReceiveMessageSizeKB, hideFromAddressBook, isConsumer, enabledLitigationHold, recoverabelItemsSpace, recoverabelItemsWarning, null);
}
/// <remarks/>
@ -651,6 +670,9 @@ namespace WebsitePanel.Providers.Exchange
int maxReceiveMessageSizeKB,
bool hideFromAddressBook,
bool isConsumer,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning,
object userState) {
if ((this.CreateMailEnableUserOperationCompleted == null)) {
this.CreateMailEnableUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateMailEnableUserOperationCompleted);
@ -677,7 +699,10 @@ namespace WebsitePanel.Providers.Exchange
maxSendMessageSizeKB,
maxReceiveMessageSizeKB,
hideFromAddressBook,
isConsumer}, this.CreateMailEnableUserOperationCompleted, userState);
isConsumer,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning}, this.CreateMailEnableUserOperationCompleted, userState);
}
private void OnCreateMailEnableUserOperationCompleted(object arg) {
@ -1032,17 +1057,7 @@ namespace WebsitePanel.Providers.Exchange
this.Invoke("AddAuthoritativeDomain", new object[] {
domain});
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeAcceptedDomainType", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void ChangeAcceptedDomainType(string domain, ExchangeAcceptedDomainType domainType)
{
this.Invoke("ChangeAcceptedDomainType", new object[] {
domain,
domainType});
}
/// <remarks/>
public System.IAsyncResult BeginAddAuthoritativeDomain(string domain, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddAuthoritativeDomain", new object[] {
@ -1075,6 +1090,49 @@ namespace WebsitePanel.Providers.Exchange
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeAcceptedDomainType", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void ChangeAcceptedDomainType(string domain, ExchangeAcceptedDomainType domainType) {
this.Invoke("ChangeAcceptedDomainType", new object[] {
domain,
domainType});
}
/// <remarks/>
public System.IAsyncResult BeginChangeAcceptedDomainType(string domain, ExchangeAcceptedDomainType domainType, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ChangeAcceptedDomainType", new object[] {
domain,
domainType}, callback, asyncState);
}
/// <remarks/>
public void EndChangeAcceptedDomainType(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <remarks/>
public void ChangeAcceptedDomainTypeAsync(string domain, ExchangeAcceptedDomainType domainType) {
this.ChangeAcceptedDomainTypeAsync(domain, domainType, null);
}
/// <remarks/>
public void ChangeAcceptedDomainTypeAsync(string domain, ExchangeAcceptedDomainType domainType, object userState) {
if ((this.ChangeAcceptedDomainTypeOperationCompleted == null)) {
this.ChangeAcceptedDomainTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeAcceptedDomainTypeOperationCompleted);
}
this.InvokeAsync("ChangeAcceptedDomainType", new object[] {
domain,
domainType}, this.ChangeAcceptedDomainTypeOperationCompleted, userState);
}
private void OnChangeAcceptedDomainTypeOperationCompleted(object arg) {
if ((this.ChangeAcceptedDomainTypeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ChangeAcceptedDomainTypeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAuthoritativeDomains", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
@ -1470,7 +1528,24 @@ namespace WebsitePanel.Providers.Exchange
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetMailboxAdvancedSettings", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void SetMailboxAdvancedSettings(string organizationId, string accountName, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync, long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB) {
public void SetMailboxAdvancedSettings(
string organizationId,
string accountName,
bool enablePOP,
bool enableIMAP,
bool enableOWA,
bool enableMAPI,
bool enableActiveSync,
long issueWarningKB,
long prohibitSendKB,
long prohibitSendReceiveKB,
int keepDeletedItemsDays,
int maxRecipients,
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning) {
this.Invoke("SetMailboxAdvancedSettings", new object[] {
organizationId,
accountName,
@ -1485,7 +1560,10 @@ namespace WebsitePanel.Providers.Exchange
keepDeletedItemsDays,
maxRecipients,
maxSendMessageSizeKB,
maxReceiveMessageSizeKB});
maxReceiveMessageSizeKB,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning});
}
/// <remarks/>
@ -1504,6 +1582,9 @@ namespace WebsitePanel.Providers.Exchange
int maxRecipients,
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning,
System.AsyncCallback callback,
object asyncState) {
return this.BeginInvoke("SetMailboxAdvancedSettings", new object[] {
@ -1520,7 +1601,10 @@ namespace WebsitePanel.Providers.Exchange
keepDeletedItemsDays,
maxRecipients,
maxSendMessageSizeKB,
maxReceiveMessageSizeKB}, callback, asyncState);
maxReceiveMessageSizeKB,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning}, callback, asyncState);
}
/// <remarks/>
@ -1529,12 +1613,47 @@ namespace WebsitePanel.Providers.Exchange
}
/// <remarks/>
public void SetMailboxAdvancedSettingsAsync(string organizationId, string accountName, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync, long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB) {
this.SetMailboxAdvancedSettingsAsync(organizationId, accountName, enablePOP, enableIMAP, enableOWA, enableMAPI, enableActiveSync, issueWarningKB, prohibitSendKB, prohibitSendReceiveKB, keepDeletedItemsDays, maxRecipients, maxSendMessageSizeKB, maxReceiveMessageSizeKB, null);
public void SetMailboxAdvancedSettingsAsync(
string organizationId,
string accountName,
bool enablePOP,
bool enableIMAP,
bool enableOWA,
bool enableMAPI,
bool enableActiveSync,
long issueWarningKB,
long prohibitSendKB,
long prohibitSendReceiveKB,
int keepDeletedItemsDays,
int maxRecipients,
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning) {
this.SetMailboxAdvancedSettingsAsync(organizationId, accountName, enablePOP, enableIMAP, enableOWA, enableMAPI, enableActiveSync, issueWarningKB, prohibitSendKB, prohibitSendReceiveKB, keepDeletedItemsDays, maxRecipients, maxSendMessageSizeKB, maxReceiveMessageSizeKB, enabledLitigationHold, recoverabelItemsSpace, recoverabelItemsWarning, null);
}
/// <remarks/>
public void SetMailboxAdvancedSettingsAsync(string organizationId, string accountName, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync, long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB, object userState) {
public void SetMailboxAdvancedSettingsAsync(
string organizationId,
string accountName,
bool enablePOP,
bool enableIMAP,
bool enableOWA,
bool enableMAPI,
bool enableActiveSync,
long issueWarningKB,
long prohibitSendKB,
long prohibitSendReceiveKB,
int keepDeletedItemsDays,
int maxRecipients,
int maxSendMessageSizeKB,
int maxReceiveMessageSizeKB,
bool enabledLitigationHold,
long recoverabelItemsSpace,
long recoverabelItemsWarning,
object userState) {
if ((this.SetMailboxAdvancedSettingsOperationCompleted == null)) {
this.SetMailboxAdvancedSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetMailboxAdvancedSettingsOperationCompleted);
}
@ -1552,7 +1671,10 @@ namespace WebsitePanel.Providers.Exchange
keepDeletedItemsDays,
maxRecipients,
maxSendMessageSizeKB,
maxReceiveMessageSizeKB}, this.SetMailboxAdvancedSettingsOperationCompleted, userState);
maxReceiveMessageSizeKB,
enabledLitigationHold,
recoverabelItemsSpace,
recoverabelItemsWarning}, this.SetMailboxAdvancedSettingsOperationCompleted, userState);
}
private void OnSetMailboxAdvancedSettingsOperationCompleted(object arg) {
@ -4102,6 +4224,10 @@ namespace WebsitePanel.Providers.Exchange
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddAuthoritativeDomainCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ChangeAcceptedDomainTypeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetAuthoritativeDomainsCompletedEventHandler(object sender, GetAuthoritativeDomainsCompletedEventArgs e);